Usually you install the openjdk like this:

sudo apt-get install openjdk-8-jdk

Maybe this is the problem. You can look this up at http://openjdk.java.net/install/index.html. If you do this you might have fixed this problem. But cant imagine why your command give this result.

Answer from Booming on askubuntu.com
🌐
Oracle
java.com › en › download › help › linux_x64_install.html
Linux 64-bit installation instructions for Java
Unpack the tarball and install Java tar zxvf jre-8u73-linux-x64.tar.gz The Java files are installed in a directory called jre1.8.0_73 in the current directory. In this example, it is installed in the /usr/java/jre1.8.0_73 directory.
Discussions

How do I install Java 8 JRE
I'd suggest you run sudo apt update; sudo apt list | grep jre to find the package name. I do remember that the JRE and JDK package names are often confusing, so that's why I'm recommending this approach. More on reddit.com
🌐 r/linux4noobs
8
2
May 30, 2023
java - Installing jdk 8 on a fresh Linux Mint 18.2 - Stack Overflow
On a newly installed Linux Mint 18.2 Cinnamon 64 bit distribution, typing in Terminal: java -version gives the following results: % java -version The program "java" can be found in the More on stackoverflow.com
🌐 stackoverflow.com
How to properly install Oracle Java 8 on Ubuntu? - Stack Overflow
I would like to install Oracle Java 8 on my Ubuntu 18.04 using packages. I already added the apt-repository, but when trying to install it says package is not available. All I do is: sudo add-apt- More on stackoverflow.com
🌐 stackoverflow.com
how to install java 8 to debian?
Not familiar with the application, but if you installed it as a flatpak, it should already contain java versions 21, 17, and 8. Can you change the java version for that modpack in PolyMc? More on reddit.com
🌐 r/linux4noobs
3
2
July 3, 2024
🌐
Oracle
java.com › en › download › manual.jsp
Download Java
This download is for end users who need Java for running applications on desktops or laptops. Java 8 integrates with your operating system to run separately installed Java applications.
🌐
Oracle
docs.oracle.com › javase › 8 › docs › technotes › guides › install › install_overview.html
JDK 8 and JRE 8 Installation Start Here
April 21, 2026 - This page gives access to instructions for installing the JDK and JRE on Oracle Solaris, Windows, Linux, and macOS computers.
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_build_of_openjdk › 8 › html › installing_and_using_red_hat_build_of_openjdk_8_for_rhel › assembly_installing-openjdk-8-on-red-hat-enterprise-linux_openjdk
Chapter 2. Installing Red Hat build of OpenJDK 8 on Red Hat Enterprise Linux | Installing and using Red Hat build of OpenJDK 8 for RHEL | Red Hat build of OpenJDK | 8 | Red Hat Documentation
You can install Red Hat build of OpenJDK Java Runtime Environment (JRE) using the system package manager, yum. ... Logged in as a user with root privileges on the system. Registered your local system to your Red Hat Subscription Management account. See the Registering a system using Red Hat ...
Find elsewhere
🌐
PostgreSQL
jdbc.postgresql.org › download
Download | pgJDBC
Because Java is platform neutral, it is a simple process of just downloading the appropriate JAR file and dropping it into your classpath. Source versions are also available here for recent driver versions. Latest SNAPSHOT versions. This is the current version of the driver.
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_build_of_openjdk › 8 › html-single › installing_and_using_red_hat_build_of_openjdk_8_for_rhel › index
Installing and using Red Hat build of OpenJDK 8 for RHEL | Red Hat build of OpenJDK | 8 | Red Hat Documentation
You can install Red Hat build of OpenJDK Java Runtime Environment (JRE) using the system package manager, yum. ... Logged in as a user with root privileges on the system. Registered your local system to your Red Hat Subscription Management account. See the Registering a system using Red Hat ...
🌐
TecMint
tecmint.com › home › redhat › how to install java on rhel 8
How to Install Java on RHEL 8
September 12, 2019 - In this article, we will show you how to install Java and set the JAVA_HOME environment variable in RHEL 8.
🌐
GitHub
gist.github.com › wagyourtail › b115f66d135b3818b63d9b27048d80e6
Installing Java 8 on various Linux distros · GitHub
Download the jre tar.gz (Linux Compressed Archive) from Oracle's Website or the Java Website. make sure to select the correct x86 / x64 for your Architecture, it's probably x64 if your computer's newer than 2005.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › debian edition support › lmde forums › lmde archive
Installing OpenJDK8 - Linux Mint Forums
Done Building dependency tree Reading state information... Done ca-certificates-java is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. person@computer ~ $ sudo apt-get install openjdk-8-jre-headless Reading package lists...
🌐
RabbitMQ
rabbitmq.com › install and upgrade
Installing RabbitMQ | RabbitMQ
Windows Installer · Debian, Ubuntu · RHEL, CentOS Stream 9.x, CentOS 8.x | zero dependency Erlang RPM · Generic UNIX binary · Windows binary · Debian · RPM · Chef cookbook · Puppet module · Kurtosis Starlark package · Release Signing Key 0x6B73A36E6026DFCA (on GitHub) How to Verify Release Artifact Signatures · Release Signing Key (alternative download location on rabbitmq.com) On Maven Central: RabbitMQ Java client ·
🌐
Azul Systems
azul.com › home › azul downloads
Java 8, 11, 17, 21, 25 Download for Linux, Windows and macOS
January 30, 2023 - Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 25 for Linux, Windows and macOS. Also download Azul Platform Prime.
🌐
SDKMAN!
sdkman.io › installation
Installation | SDKMAN! the Software Development Kit Manager
Installing SDKMAN! on UNIX is a breeze. It effortlessly sets up on macOS, Linux and Windows (with WSL).
🌐
MySQL
dev.mysql.com › downloads › connector › j
MySQL :: Download Connector/J
MySQL Connector/J is the official JDBC driver for MySQL. MySQL Connector/J 8.0 and higher is compatible with all MySQL versions starting with MySQL 5.7.
🌐
Minecraft
minecraft.net › en-us › download
Download Minecraft Java & Bedrock Edition
4 weeks ago - Download Minecraft for Windows, Mac, and more. Download server software for Java and Bedrock to start playing with friends. Learn more about the Minecraft Launcher.
🌐
Camunda
developers.camunda.com › install-camunda-8
Downloads | Camunda 8 Docs
Unzip the bundle and start Camunda 8 Run from the extracted folder with camunda-start.sh (macOS/Linux) orcamunda-start.bat (Windows).