Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You will have to accept the Oracle binary license terms  

 

For Debian, the following steps will upgrade the installation to Java 8:

 

Code Block
languagetext
$ su -
$ echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
$ echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
$ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
$ apt-get update
$ apt-get install oracle-java8-installer oracle-java8-set-default -y
$ exit

 

You will have to accept the Oracle binary license terms


Setting JAVA_HOME 

If not set automatically during the Java 8 installation process, The JAVA_HOME environment variable should be set to the JRE installation location for Java 8. The process for verifying/setting the proper version varies with platform.

...