Answers for "change java version terminal"

3

change java version command line debian

sudo update-alternatives --config java
Posted by: Guest on June-13-2020
1

set default java version

# on linux
sudo update-alternatives --config java
# then just input the number of the jdk you
# want to use as default and hit Enter
Posted by: Guest on May-14-2020
0

change default java version mac

nano ~/.zshrc

export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0)
Posted by: Guest on November-10-2020
2

change java version

/usr/libexec/java_home -V  
export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-462` //java 8
Posted by: Guest on October-21-2020
0

changer version java terminal

export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
Posted by: Guest on December-04-2020

Code answers related to "change java version terminal"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language