Published February 21, 2018 by

Install Oracle JAVA 9 on Ubuntu/Linuxmint

Oracle JAVA 9 stable release version is available to download and install.This tutorial will show you step by step instructions to install Oracle Java 9 on Ubuntu/Debian system using PPA.
Install Java 9

For Install JAVA 9 we need to add the webupd8team Java 9 PPA in our system. Install Oracle JAVA 9 using the following commands.

# sudo add-apt-repository ppa:webupd8team/java
# sudo apt-get update
# sudo apt-get install oracle-java9-installer

Verify Installed Java Version

# java -version







Setup Java Environment Variable

# sudo apt-get install oracle-java9-set-default

JAVA installation will create a configuration file /etc/profile.d/jdk.sh for the Java environment settings. The system will automatically load these settings on every reboot to set up Java environment.