Saturday, July 30, 2016

How to install Oracle Java 9 on Ubuntu

  Oracle Java 9 is available as an early access release (it should be released in March 2017) and its available for installation from webupd8team PPA repository. Note that you should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches. Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps.

Some of the key features expected in oracle java 9 can be found here



Installation instructions:

Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T keys. When it opens, run below commands one by one:
 

$ sudo add-apt-repository ppa:webupd8team/java

$ sudo apt-get update

$ sudo apt-get install oracle-java9-installer

To set Oracle Java 9 by default, do:

$ sudo apt-get install oracle-java9-set-default
 
Check Installed Version
  
java -version

No comments:

Post a Comment