Install OpenJDK Ubuntu 16.04 Xenial LTS
Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Oracle-Sun Java OpenJDK JRE/JDK 8/9/10/11 on Ubuntu 16.04 Xenial LTS GNU+Linux Desktop.
And the Ubuntu 16.04 OpenJDK Installation is a Free and Open Source Implementation of the Java Platform Standard Edition.
Oracle Java JDK/JRE Installation is based on the OpenJDK source code. In Addition, it contains Closed-Source Components.
How to Download and Install Oracle JDK on Linux Distros
-
Open a Shell session
Ctrl+Alt+t to open a Terminal emulator on Desktop
(Press “Enter” to Execute Commands) -
Installing Java OpenJDK.
-
Installing OpenJDK 11 JRE/JDK.
-
Installing OpenJDK 10 JRE/JDK.
-
Installing OpenJDK 9 JRE/JDK.
- For JRE 9
Minimal:sudo apt install openjdk-9-jre-headless
Complete:
sudo apt install openjdk-9-jre
- For JDK 9
Without GUI components:sudo apt install openjdk-9-jdk-headless
And All with:
sudo apt install openjdk-9-jdk
- For JRE 9
-
Installing OpenJDK 8 JRE/JDK.
- For JRE 8
Minimal:sudo apt install openjdk-8-jre-headless
Complete:
sudo apt install openjdk-8-jre
- For JDK 8
Without GUI components:sudo apt install openjdk-8-jdk-headless
And All with:
sudo apt install openjdk-8-jdk
- For JRE 8
-
Java IDEs Installation on Linux
How to Install Eclipse for Java Development on Linux: Installing Eclipse IDE for Java on Linux.
How to Install Netbeans IDE for Java on Linux: Installing NetBeans IDE for Java on Linux.
How to Install IntelliJ IDEA 2024 for Java on Linux: Installing IntelliJ IDEA for Java on Linux.