🌐
Ubuntu
ubuntu.com › tutorials › install-jre
Install the Java Runtime Environment | Ubuntu
In this guide, we’ll be going through the installation of both JRE packages. Of course, you generally only need to pick the one that best suits your needs and preferences. ... That’s all you need. If you have that, let’s proceed to the next step! With new versions of Java released every 6 months, there are multiple versions available for use.
🌐
LinuxConfig
linuxconfig.org › home › how to install java on ubuntu 18.04 bionic beaver linux
How to install Java on Ubuntu 18.04 Bionic Beaver Linux
September 22, 2025 - This will be performed in three ways: Installing Java using the Ubuntu Open JDK binaries, installing Java via PPA and installing Java using the official Oracle Java binaries. ... Privileged access to to your Ubuntu 18.04 Bionic Beaver Linux system is required to perform this installation.
Discussions

What is the point of all these new Java versions when Java 8 is all that seems to be supported by most apps?
Because they switched to a new release model which allows for them to get new features out faster. Same thing happened when Firefox and chrome switched to a timed release model. People bitched about version numbers but slowly got use to the fact that "I don't really care that this is firefox 82". From an organization standpoint, this has been great for the Java getting features out. It used to be that they'd say "Ok, we are going to target key feature X for java Y". The problem with that is nearly all project development got devoted to that feature and ultimately "when" java would go out was completely unknown. Further, releases where crazy times for JDK developers. With the new model, they've been able to work on a lot more features in parallel. A ton of usability features made it in (records, pattern matching, string literals) which never would have made it in the old model. Further, it's allowed them to slowly walk in huge features (Valhalla, loom, etc) making pre-emptive changes needed to support massive changes in the future. Post Java 9, the upgrades have been a breeze. Honestly, I almost wish they'd move to an even faster release model to really force people to stop caring so much about these version numbers. Rust does a release every 6 weeks and I think that works great. Nobody cares that it's now Rust 1.50 or whatever. More on reddit.com
🌐 r/java
45
0
April 19, 2021
Thinkorswim on Ubuntu
this was a little tricky but I have gotten it to work.First you want to get Java 8 installed.Once you install Java,then you need to choose the version cause itll make Java 11 default,once you change it to 8,then the installer runs just fine. Also remember to change the installer to be "executing"(right click,properties,check the box). I think with your case,you should just run this to change it to 8 because I ran into the same issue and once I switched it to 8,I had no problems. sudo update-java-alternatives -s java-8-oracle I should note I am using LTS 18.04 but it should work if youre on 18 or 19 More on reddit.com
🌐 r/thinkorswim
11
5
October 25, 2019
Java 16 / JDK 16: General Availability

Finally I can start migrating from .collect(Collectors.toList()) to toList()

More on reddit.com
🌐 r/java
82
196
March 16, 2021
How to install Java?
Why THE HECK IS THERE NOT A BASIC INSTALLER FOR JAVA the package manager can install java... now WHICH java you specifically need... No idea. but the basics will be the same. https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-20-04 java -version If Java is not currently installed, you’ll see the following output: Output Command 'java' not found, but can be installed with: sudo apt install default-jre # version 2:1.11-72, or sudo apt install openjdk-11-jre-headless # version 11.0.7+10-3ubuntu1 sudo apt install openjdk-13-jre-headless # version 13.0.3+3-1ubuntu2 sudo apt install openjdk-14-jre-headless # version 14.0.1+7-1ubuntu1 sudo apt install openjdk-8-jre-headless # version 8u252-b09-1ubuntu1 Execute the following command to install the default Java Runtime Environment (JRE), which will install the JRE from OpenJDK 11: sudo apt install default-jre The JRE will allow you to run almost all Java software. note: i think you only install ONE of the above packages.. :) unless you know you need more than one version of java.. (i have not messed with java in years) No idea what specific java needs your game may require.. Note - on Ubuntu 20.10 I get the following.. java --version Command 'java' not found, but can be installed with: sudo apt install default-jre # version 2:1.11-72, or sudo apt install openjdk-11-jre-headless # version 11.0.9.1+1-0ubuntu1~20.10 sudo apt install openjdk-8-jre-headless # version 8u275-b01-0ubuntu1~20.10 (You will have to enable component called 'universe') sudo apt install openjdk-13-jre-headless # version 13.0.4+8-1 (You will have to enable component called 'universe') sudo apt install openjdk-14-jre-headless # version 14.0.2+12-1 (You will have to enable component called 'universe') sudo apt install openjdk-15-jre-headless # version 15+36-1 (You will have to enable component called 'universe') the 'universe' they mention is the universe repository in the package manager settings. Otherwise - i think it will install openjdk-11 which is in the default repositories. PS: guides that mention the webup8 repositories - are likely outdated. the webup8 site has stopped hosting the non-free java stuff in their repos due to Licensing changes Installing Oracle JDK 11 Oracle’s licensing agreement for Java doesn’t allow automatic installation through package managers. To install the Oracle JDK, which is the official version distributed by Oracle, you must create an Oracle account and manually download the JDK to add a new package repository for the version you’d like to use. Then you can use apt to install it with help from a third party installation script. More on reddit.com
🌐 r/Ubuntu
8
0
January 1, 2021
🌐
OS Radar
osradar.com › home › linux › how to install oracle java 16 on ubuntu 20.04 / 18.04?
How to install Oracle Java 16 on Ubuntu 20.04 / 18.04? - Linux Windows and android Tutorials
March 22, 2021 - sudo add-apt-repository ppa:linuxuprising/java Oracle Java 11 (LTS) and 16 installer for Ubuntu (21.04, 20.10, 20.04, 18.04, 16.04 and 14.04), Pop!_OS, Linux Mint and Debian. Java binaries are not hosted in this PPA due to licensing.
🌐
Mkyong
mkyong.com › home › java › how to install java jdk on ubuntu
How to install Java JDK on Ubuntu - Mkyong.com
March 29, 2021 - We can still download the JDK and install it on Ubuntu manually. This example will install the JDK 16. ... $ sudo mkdir /opt/jdk-16 $ sudo tar -zxf ~/Downloads/openjdk-16_linux-x64_bin.tar.gz -C /opt/jdk-16 $ ls -lsa /opt/jdk-16 ls -lsa /opt/jdk-16 ...
🌐
HolyHosting
holy.gg › en › post › how-to-install-java-on-ubuntu-18-04
How to Install Java on Ubuntu 18.04
April 4, 2026 - This article will teach you how to install Java on Ubuntu 18.04. The commands will work on any private server or computer running the latest version, Ubuntu 18.04 Bionic Beaver, as well as on 16.04 and other long-term support (LTS) versions. Java is generally distributed in three editions: ...
🌐
Progressive Robot
progressiverobot.com › home › linux › how to install java with apt-get on ubuntu 16.04
How To Install Java with Apt-Get on Ubuntu 16.04
May 12, 2026 - Java and the JVM (Java's virtual machine) are widely used and required for many kinds of software. This article will guide you through the process of installing and managing different versions of Java using apt-get. ... One Ubuntu 16.04 server.
Address   Chester Business Park, 220 Heronsway, CH4 9GB
🌐
UbuntuHandbook
ubuntuhandbook.org › home › howtos › oracle java 16 released, how to install it in ubuntu 20.04, 18.04, 20.10
Oracle Java 16 Released, How to Install it in Ubuntu 20.04, 18.04, 20.10 | UbuntuHandbook
The “Linux Uprising” team ppa has made the installer script, which automatically downloads and installs Oracle JDK 16 package, and sets Java 16 as the default Java version (setting JAVA_HOME, etc.) on 64-bit Ubuntu based system.
🌐
Linuxize
linuxize.com › home › java › how to install java on ubuntu 18.04
How to Install Java on Ubuntu 18.04 | Linuxize
February 24, 2020 - This tutorial describes how to install various versions of OpenJDK as well as Oracle Java on Ubuntu 18.04. The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Kubuntu, Linux Mint and Elementary OS.
Find elsewhere
🌐
Attacomsian
attacomsian.com › blog › install-java-on-ubuntu
How to install Java on Ubuntu 18.04
September 7, 2020 - In this article, you will learn to install different versions of the Java Runtime Environment (JRE) and the Java Development Kit (JDK) on Ubuntu 18.04. You will install both OpenJDK as well as official Oracle Java binaries. The same instructions apply for Ubuntu 16.04 and other Ubuntu-based ...
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-with-apt-on-ubuntu-18-04
How To Install Java with Apt on Ubuntu 18.04 | DigitalOcean
October 12, 2021 - In this guide, you will install various versions of the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) using apt . You’ll install OpenJDK …
🌐
Contabo
contabo.com › home › how to install java on ubuntu 18.04, 20.04 & 22.04 using apt-get
How To Install Java on Ubuntu 18.04, 20.04 & 22.04 using Apt-Get
August 11, 2023 - In this comprehensive step-by-step guide you will learn how to install different versions of Java on your Ubuntu server using Apt-Get.
🌐
VSYS
vsys.host › how-to › how-to-install-java-on-ubuntu-18-04-20-04-22-04-using-apt-get
How To Install Java on Ubuntu 18.04, 20.04 & 22.04 using Apt-Get ★ VSYS Tutorials
August 8, 2024 - ... To install the default JRE, ... Java 8 JRE, use `apt-get install openjdk-8-jre -y`. For Java 16 JDK, use `apt-get install openjdk-16-jdk -y`. For Java 16 JRE, use `apt-get install openjdk-16-jre -y`....
🌐
LinuxWays
linuxways.net › ubuntu › how-to-install-oracle-java-16-on-ubuntu-18-04-20-04
How to Install Oracle Java 16 On Ubuntu 18.04 / 20.04 – LinuxWays
September 20, 2021 - $ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 73C3DB2A · Thereafter, Update the package lists to synchronize with the Linux Uprising PPA. ... Read the License terms and press TAB to highlight the ‘Ok’ button and press ENTER. Next, select ‘Yes’ to accept the license agreement. The installation of Oracle Java will continue and finally, come to a close.
🌐
Serverspace
serverspace.io › support › help › how-to-install-java-with-apt-on-ubuntu-18-04
How To Install Java with apt on Ubuntu 18.04 | Serverspace
July 18, 2025 - Learn how to easily install different versions of Java Runtime Environment (JRE) and Java Development Kit (JDK) on Ubuntu 18.04 using the apt package manager. This guide covers installation, verification, and managing multiple Java versions.
🌐
Hostinger
hostinger.com › home › tutorials › how to install java on ubuntu
How to Install Java on Ubuntu
January 13, 2026 - Check this article to learn how to install Java on Ubuntu: 1. Update the package index 2. Install JRE 3. Install a specific Java version and more.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install java on ubuntu
How to Install Java on Ubuntu
February 20, 2025 - This step-by-step guide will show you how to install Java on Ubuntu.
🌐
Tutorials24x7
java.tutorials24x7.com › blog › how-to-install-java-18-on-ubuntu-20-04-lts
How To Install Java 18 On Ubuntu 20.04 LTS | Tutorials24x7
June 26, 2022 - Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/java/oracle/jdk-16.0.1/bin/javac 1 auto mode 1 /usr/java/oracle/jdk-16.0.1/bin/javac 1 manual mode 2 /usr/java/oracle/jdk-18.0.1.1/bin/javac 1 manual mode Press <enter> to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/java/oracle/jdk-18.0.1.1/bin/javac to provide /usr/bin/javac (javac) in manual mode · The output of these commands is shown in Fig 3. We might need to configure active Java if it is previously installed on the system as shown in Fig 3.
🌐
Baeldung
baeldung.com › home › devops › installing java on ubuntu
Installing Java on Ubuntu | Baeldung
January 8, 2024 - In this tutorial, we’ll introduce different methods for installing a JDK on Ubuntu. Then, we’ll briefly compare the methods. Finally, we’ll show how to manage multiple Java installations on an Ubuntu system. ... The instructions described below have been tested on Ubuntu 18.10, 18.04 LTS, 16....