Created
August 6, 2017 15:37
-
-
Save weizhou2273/f89c71f24f1474ec0e546a5b34a72597 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
# install java | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
sudo update-alternatives --config java | |
readlink -f $(which java) | |
# /usr/lib/jvm/java-8-oracle | |
sudo vi /etc/profile | |
# {vi environment} | |
source JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment