How can we set JAVA_HOME environment variable for OpenJDK?
|
You can set your Open
Use
Then check the variable, by running this command:
|
||||
|
|
|
To set
The above method will save you the hassle in having to run the commands every time you log in to your computer. |
||||
|
|
|
If you do not know the path and you only have openJDK installed, you can type
|
|||
|
|