Last active
July 15, 2021 13:57
-
-
Save emreberber/42f7267f356b61488172c5dc4b8915d5 to your computer and use it in GitHub Desktop.
How to Set JAVA_HOME Path in Ubuntu 18.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install openjdk-8-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
echo $JAVA_HOME | |
export PATH=$PATH:$JAVA_HOME/bin | |
echo $PATH | |
java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment