Oracle JAVA 9 Early Access release is available to download and install. Java 9 stable release is supposed to 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 9 on Ubuntu and LinuxMint
This article will help you to Install Oracle JAVA 9 early access release on Ubuntu 16.10, 16.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 the 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 the following command.
[email protected]:~$ java -version java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+156) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+156, mixed mode)
The installation will create a configuration file (/etc/profile.d/jdk.sh) to set the JAVA environment.