If you download and install the latest Minecraft.deb package from minecraft.net, all necessary dependencies will be installed, including jre 8.

To install jre 8 manually, you can use the version available in pre-configured apt sources:

sudo apt install openjdk-8-jre

And to install the latest jre:

sudo apt install openjdk-11-jre
Answer from Broadsworde on askubuntu.com
🌐
Fabric Documentation
docs.fabricmc.net › players › installing-java › linux
Installing Java on Linux | Fabric Documentation
April 2, 2026 - A step-by-step guide on how to install Java on Linux. This guide will walk you through installing Java 25 on Linux. The Minecraft Launcher comes with its own Java installation, so this section is only relevant if you want to use the Fabric .jar based installer, or if you want to use the Minecraft Server .jar.
Discussions

[How To]: Install Minecraft & Basic Modding on Linux/Ubuntu - Discussion - Minecraft: Java Edition - Minecraft Forum - Minecraft Forum
To do this, you'll need to right ... "OpenJDK Java 6 Runtime." This will bring up the Minecraft Launcher. You'll then need to type in your username and password, then click "Login." Then the .minecraft folder will be installed, of course being up-to-date. (Keep in mind that the system requirements for Minecraft on Linux are a bit ... More on minecraftforum.net
🌐 minecraftforum.net
June 6, 2013
How to run Minecraft 1.17 under Feodra or Ubuntu Based Linux Distros (Java 16 install)
Hello. I'm still unable to run 1.17. I have a Lenovo T540p with the following: ~$ uname -a Linux [hostname] 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux ~$ java -version openjdk version "16.0.1" 2021-04-20 OpenJDK Runtime Environment (build 16.0.1+9-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 16.0.1+9-Ubuntu-120.04, mixed mode, sharing) ~$ cat /proc/cpuinfo |grep "model name" model name : Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz Supposed to have "Intel HD Graphics 4600" The Error Log for the Minecraft launcher ends thusly: 22:40:07.037 Error: LinkageError occurred while loading main class net.minecraft.client.main.Main java.lang.UnsupportedClassVersionError: net/minecraft/client/main/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 57.0 22:40:07.037 Process crashed with exit code 1 Any ideas? PS, I also tried it with Oracle Java 16. It also crashes but gives no Error console output. 1.16.5 runs fine under either vendor's Java. More on reddit.com
🌐 r/Minecraft
2
15
June 25, 2021
Getting Minecraft
Minecraft is available, just search "Minecraft" on the software manager and you will find it as a flatpak. For the system package version, go to the download section of "minecraft.net" and download then install the .deb. Edit: This is for the java edition, if you want to play the bedrock version, you will need to download "Minecraft Bedrock Launcher" on the software manager + own the game on the google play store. More on reddit.com
🌐 r/linuxmint
19
6
May 4, 2024
How can you install java for minecraft?
I just installed Minecraft from app store and that takes care of it. Why complicate? More on reddit.com
🌐 r/linuxmint
5
6
June 17, 2020
🌐
Reddit
reddit.com › r/linuxmint › how can you install java for minecraft?
r/linuxmint on Reddit: How can you install java for minecraft?
June 17, 2020 - Anyway, you can download the official .deb installer from https://www.minecraft.net/en-us/download/. That's the installer for the launcher. Double click it and Mint will begin the install.
🌐
Everyday Linux User
everydaylinuxuser.com › 2013 › 12 › how-to-install-minecraft-for-ubuntu.html
How to install Minecraft for Ubuntu Linux « Everyday Linux User
If you want to run Minecraft from the command line navigate to the folder where Minecraft resides and then type: java -jar Minecraft.jar After a few seconds the launcher will load.
🌐
Prism Launcher
prismlauncher.org › wiki › getting-started › installing-java
Installing Java | Prism Launcher Wiki
In Prism Launcher 9.0+, you can ... on Windows, macOS and Linux (not available in all packages) by enabling “Autodetect Java version” and “Auto-download Mojang Java” in: ... This will make the launcher automatically download the right version of Java for your version of Minecraft (Java ...
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-minecraft-on-linux
How to Install Minecraft on Linux ? - GeeksforGeeks
October 8, 2024 - Step 1: After starting up the launcher, click on either Microsoft Login/Mojang Login to authenticate your account containing a license. Step 2: Click on Play/Play Demo depending on your License.
🌐
Minecraft Forum
minecraftforum.net › home › minecraft forum › minecraft: java edition › discussion › [how to]: install minecraft & basic modding on linux/ubuntu
[How To]: Install Minecraft & Basic Modding on Linux/Ubuntu - Discussion - Minecraft: Java Edition - Minecraft Forum - Minecraft Forum
June 6, 2013 - To do this, you'll need to right click the minecraft.jar on your desktop, click "Open With Other Application," and the click "Show Other Applications," then find and select "OpenJDK Java 6 Runtime." This will bring up the Minecraft Launcher. You'll then need to type in your username and password, ...
Find elsewhere
🌐
Oracle
java.com › en › download › help › linux_x64_install.html
Linux 64-bit installation instructions for Java
This procedure installs the Java Runtime Environment (JRE) for 64-bit Linux, using an archive binary file (.tar.gz). Go to http://java.com and click on the Download button.
🌐
Puppy Linux Discussion Forum
oldforum.puppylinux.com › board index › house training › howto ( solutions )
HOWTO manually install JAVA and MINECRAFT - (old)Puppy Linux Discussion Forum
July 13, 2021 - # tar -xvf jre-8u73-linux-x64.tar.gz # mkdir /usr/java/ # mv jre1.8.0_73/ /usr/java/ # ln -s /usr/java/jre1.8.0_73/bin/* /usr/bin/ Download Minecraft.jar from : https://minecraft.net/download Run it from console : ... # java -jar Minecraft.jar PS : to create a new account, it will not work ...
🌐
Fabric Wiki
wiki.fabricmc.net › player:tutorials:java:linux
Install/Verify Java (Linux) [Fabric Wiki]
July 5, 2024 - Install a Fabric server. Linux/CLI guide available ... Change the default “JAVA EXECUTABLE” to other than the bundled Java runtime in a Minecraft Launcher “Installation”
🌐
PaperMC
docs.papermc.io › misc › java-install
Installing or updating Java | PaperMC Docs
How to install or update to Java 25 on Linux (apt/rpm), Windows, or Mac.
🌐
YouTube
youtube.com › the breakdown
How To Download & Install Java for Minecraft (Java 17) - YouTube
You want to know how to download and install Java 17, and in this video, we go over exactly how to download Java for Minecraft and other Java applications. W...
Published   August 3, 2023
Views   291K
🌐
LinuxForDevices
linuxfordevices.com › home › install and setup minecraft on linux – a complete guide
Install and setup Minecraft on Linux - A complete guide - LinuxForDevices
December 8, 2020 - So, to be able to run Minecraft, you need to have JRE (Java Runtime Environment) on which Minecraft can run. Visit here for complete instructions on installing Java on Debian Linux.
🌐
Systranbox
systranbox.com › how-to-install-minecraft-java-on-linux
March 17, 2022 - We cannot provide a description for this page right now
🌐
YouTube
youtube.com › watch
How To Download & Install Java 17 for Minecraft - YouTube
This video will show you how to download and install Java 17 for Minecraft. Java 17 is the latest version of Java that is compatible with Minecraft, and it i...
Published   December 6, 2021
🌐
Ubunlog
en.ubunlog.com › ubuntu › minecraft java edition, installation in ubuntu 18.04 from the web, snap or ppa
Minecraft Java Edition, installation in Ubuntu 18.04 from the web, snap or PPA
July 20, 2018 - Despite this, it is one of the most popular games in the world. In this article, we are going to see how to install it using the package downloaded from the official website. Then we will also see how to install it as a Snap package and we will end up seeing its installation using the APT package manager. Minecraft is written with Java. For this reason, to run Minecraft we must have Java Development Kit (JDK) installed on Ubuntu 18.04 machine.
🌐
LinuxConfig
linuxconfig.org › home › how to install minecraft on ubuntu 18.04 bionic beaver linux
How to install Minecraft on Ubuntu 18.04 Bionic Beaver Linux
September 21, 2025 - The first step is to download the official minecraft package. Open up terminal and enter the following wget command to download the Minecraft.deb package: $ wget -o ~/Minecraft.deb https://launcher.mojang.com/download/Minecraft.deb · The easiest way is to install the previously downloaded Minecraft.deb package is by using gdebi tool...
🌐
Reddit
reddit.com › r/minecraft › how to run minecraft 1.17 under feodra or ubuntu based linux distros (java 16 install)
r/Minecraft on Reddit: How to run Minecraft 1.17 under Feodra or Ubuntu Based Linux Distros (Java 16 install)
June 25, 2021 -

Most of you don't use Linux and this won't be much use for you but I wanted to leave this here for people who do. Trying to search up how to do this has been a pain.

Ubuntu

Open your terminal and type java --version here you can see if java is installed on your system or what version is installed. If it is not installed you will be presented with a list of options. If you see openjdk-16-jre-headless then you're good to continue.

In the terminal run sudo apt install default-jre openjdk-16-jre-headless hit enter and type your password and enter again. After that you should be golden.

Fedora

Open your terminal.

If you have an AMD CPU type sudo dnf install java-latest-openjdk.x86_64

If you have an Intel CPU type sudo dnf install java-latest-openjdk.i686

Fedora comes with Java 11 installed by default. Because of this the system will not use the version you installed yet. We can fix that easily.

Type sudo alternatives --config java This will give you two options and ask you to enter a number for the version you want to use. Typically it's 2 but read to make sure you are selecting java-latest. Once you enter the number the system should be using the version you installed.

One thing to note as far as I know you can't run Jar files under Fedora. I'm not sure why that is but installing a mod like fabric and forge that way won't work. I'd suggest using GDLauncher or a similar program that handles installing mods for you.

GDLauncher

If you already use GDLauncher you might have found that there are problems running fabric with 1.17. Normally the app will install java for you but as if now it's not downloading the correct version. After you have installed 16 through one of them methods you should go to settings.

In there you wan't to disable autodetect java. In the box below it just type /bin/java that will direct it to use the one you installed instead. This hopefully should fix your issue.

I know normally we don't need to bother with this sort of thing but the Java 16 requirement has introduced a few problems. Hopefully this helps a few of you or this post comes across in a google search about the issue.

🌐
Minecraft
minecraft.net › nl-nl › download › alternative
Download Minecraft Java & Bedrock Edition
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.