Answers for "how to set default java version in ubuntu"

3

how to change java version in linux

$ sudo update-alternatives --config java
Posted by: Guest on October-30-2020
0

linux change java

sudo update-java-alternatives -s java-8-oracle
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export PATH=$PATH:$JAVA_HOME
123
Posted by: Guest on June-29-2020

Code answers related to "how to set default java version in ubuntu"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language