Skip to content

Commit

Permalink
README.md: tweak the instructions for setting JAVA_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Mar 1, 2024
1 parent 04819b2 commit af83d01
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,12 @@ only if no texture is found at any of those filenames.
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* `"`
Expand Down

0 comments on commit af83d01

Please sign in to comment.