@ -48,6 +48,13 @@ Alternatively, and on Linux, you can install it from source :
@@ -48,6 +48,13 @@ Alternatively, and on Linux, you can install it from source :
Use `jenv add` to inform `jenv` where your Java environment is located. `jenv` does not, by itself, install Java.
@ -141,7 +148,7 @@ If you executed this commands inside your `$HOME` directory, you can now delete
@@ -141,7 +148,7 @@ If you executed this commands inside your `$HOME` directory, you can now delete
rm .java-version
```
#### 1.3 Setting a Global Java Version
#### 1.4 Setting a Global Java Version
Use `jenv global VERSION` to set a global Java version:
@ -154,7 +161,7 @@ When you next open a shell or terminal window, this version of Java will be the
@@ -154,7 +161,7 @@ When you next open a shell or terminal window, this version of Java will be the
On macOS, this sets `JAVA_HOME` for GUI applications on macOS using `jenv macos-javahome`. Integrates [this tutorial](https://www.ibm.com/support/knowledgecenter/en/SSPJLC_7.6.2/com.ibm.si.mpl.doc/tshoot/ts_java_home.html) to create a file that does **not update dynamically** depending on what local or shell version of Java is set, only global.
#### 1.4 Setting a Shell Java Version
#### 1.5 Setting a Shell Java Version
Use `jenv shell VERSION` to set the Java used in this particular shell session: