Created
April 21, 2017 10:45
-
-
Save bfgits/b76380270195e69be113e4b02616ad67 to your computer and use it in GitHub Desktop.
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
JAVA_HOME=/usr/java/jdk1.8.0_73 | |
PATH=$JAVA_HOME/bin:$PATH | |
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar | |
export JAVA_HOME | |
export PATH | |
export CLASSPATH | |
update-alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_73/bin/java 100 | |
update-alternatives --config java | |
update-alternatives --install /usr/bin/javac java /usr/java/jdk1.8.0_73/bin/javac 100 | |
update-alternatives --config javac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment