This page was last updated on Tuesday, 08-Nov-2016 20:43:08 CST
Installation notes for Java
Sun/Oracle Java 7 JRE Installation
- From http://askubuntu.com/questions/183867/how-do-i-update-oracle-java-7-jdk-and-jre
- $ sudo add-apt-repository ppa:webupd8team/java
- $ sudo apt-get update
- $ sudo apt-get install oracle-java7-installer
- $ sudo update-java-alternatives -s java-7-oracle
- Also
$ sudo update-alternatives --config javaws
Sun/Oracle Java 8 JRE Installation
- From http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/
- $ sudo add-apt-repository ppa:webupd8team/java
- $ sudo apt-get update
- $ sudo apt-get install oracle-java8-installer
…
#####Important########
To set Oracle JDK8 as default, install the "oracle-java8-set-default" package.
E.g.: sudo apt install oracle-java8-set-default.
…
- $ sudo update-java-alternatives -s java-8-oracle
- Also
$ sudo update-alternatives --config javaws