apt-get purge -y openjdk*
add-apt-repository -y ppa:webupd8team/java
apt-get update -y
apt-get install -y oracle-java7-installer
Last active
September 14, 2015 01:31
-
-
Save tobegit3hub/22d8d579f184db09802b 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
export JAVA_HOME=/usr/lib/jvm/java-7-oracle/ | |
export JRE_HOME=$JAVA_HOME/jre | |
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar | |
export PATH=$PATH:$JAVA_HOME/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment