Oracle JAVA 9 Early Access release is available to download and install. Java 9 stable release is supposed to be come in 2017. So you have to wait for Java 9 stable version.
Note: Currently JAVA 9 is in early access release, so use this version for development and research only. For production servers we recommend to use Java 8 stable release. Use this article to install Java 8 on Ubuntu and LinuxMint
This article will help you to Install Oracle JAVA 9 early access release on Ubuntu 16.04, 15.10, 15.04, 14.04 LTS, 12.04 LTS and 10.04 and LinuxMint systems using PPA File.
Install JAVA 9
Add the webupd8team Java 9 PPA repository in your system and install Oracle JAVA 9 early release using following set of commands.
add-apt-repositoryppa:webupd8team/java $ sudo apt-getupdate $ sudo apt-getinstall oracle-java9-installer
Verify Java Version
After successfully installing oracle Java using above step verify installed version using following command.
[email protected]:~$ java -version java version "1.9.0-ea" Java(TM) SE Runtime Environment (build 1.9.0-ea-b50) Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b50, mixed mode)
Configuring Java Environment
In Webupd8 ppa repository also providing a package to set environment variables, Install this package using following command.
$ sudo apt-get