How to install Oracle Java SE 11 on Ubuntu Linux. The Java Platform, Standard Edition 11 Development Kit (JDK 11) is a feature release of the Java SE platform. It contains new features and enhancements in many functional areas.
You can use the links on this page to open the Release Notes describing important changes, enhancements, removed APIs and features, deprecated APIs and features, and other information about JDK 11 and Java SE 11.
Important Changes and Information
The following are some important changes in and information about this release. In some cases, additional details about the changes described below are provided in these Release Notes.
1. The deployment stack, required for Applets and Web Start Applications, was deprecated in JDK 9 and has been removed in JDK 11.
2. Without a deployment stack, the entire section of supported browsers has been removed from the list of supported configurations of JDK 11.
3. Auto-update, which was available for JRE installations on Windows and macOS, is no longer available.
4. In Windows and macOS, installing the JDK in previous releases optionally installed a JRE. In JDK 11, this is no longer an option.
5. In this release, the JRE or Server JRE is no longer offered. Only the JDK is offered. Users can use jlink to create smaller custom runtimes.
6. JavaFX is no longer included in the JDK. It is now available as a separate download from openjfx.io.
7. Java Mission Control, which was shipped in JDK 7, 8, 9, and 10, is no longer included with the Oracle JDK. It is now a separate download.
8. Previous releases were translated into English, Japanese, and Simplified Chinese as well as French, German, Italian, Korean, Portuguese (Brazilian), Spanish, and Swedish. However, in JDK 11 and later, French, German, Italian, Korean, Portuguese (Brazilian), Spanish, and Swedish translations are no longer provided.
9. Updated packaging format for Windows has changed from tar.gz to .zip, which is more common in Windows OSs.
10. Updated package format for macOS has changed from .app to .dmg, which is more in line with the standard for macOS.
Install Oracle Java SE 11 on Ubuntu
Run the following commands to install Oracle Java SE 11 on Ubuntu:
sudo apt update
sudo apt upgrade
cd Downloads/
sha256sum jdk-11.0.5_linux-x64*
sudo mkdir -p /var/cache/oracle-jdk11-installer-local/
sudo cp jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt install oracle-java11-installer-local
Once installed, run the following command for the successful installation:
java --version