From ec90c5279f97ac51ae6dc08f130b6f5488bb2d34 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Fri, 1 Mar 2024 12:17:33 -0800 Subject: [PATCH] README.md: tweak the instructions for setting JAVA_HOME --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da49f74..d1ccd74 100644 --- a/README.md +++ b/README.md @@ -134,9 +134,12 @@ Open the project's properties in the IDE (JME SDK or NetBeans): 1. Install a [Java Development Kit (JDK)][adoptium], if you don't already have one. 2. Point the `JAVA_HOME` environment variable to your JDK installation: - (The path might be something like "C:\Program Files\Java\jre1.8.0_301" - or "/usr/lib/jvm/java-8-openjdk-amd64/" or - "/Library/Java/JavaVirtualMachines/liberica-jdk-17-full.jdk/Contents/Home" .) + (In other words, set it to the path of a directory/folder + containing a "bin" that contains a Java executable. + That path might look something like + "C:\Program Files\Eclipse Adoptium\jdk-17.0.3.7-hotspot" + or "/usr/lib/jvm/java-17-openjdk-amd64/" or + "/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home" .) + using Bash or Zsh: `export JAVA_HOME="` *path to installation* `"` + using [Fish]: `set -g JAVA_HOME "` *path to installation* `"` + using Windows Command Prompt: `set JAVA_HOME="` *path to installation* `"`