Minecraft (executed by the Java edition, of course, not Bedrock) is written in the Java programming language and runs on java.exe, so to run the game you need to have an up-to-date version of Java, the correct version, if your version is very outdated and has not been updated for a long time, the game can do not start, or after installing some mods the game will crash (crash), the game can also crash when shaders are started, slow down, lag, show low FPS with shaders, even if you have a powerful PC and a good video card.
The biggest mistake and the biggest problem with Java is that in Russia most of the players are pirates, and they use pirate launchers. The licensed launcher itself downloads and installs the correct versions of Java, but pirate launchers often install outdated versions.
Manual reinstallation may not help, since the launcher simply continues to use its own, outdated version. After installing the updated version, you need to make sure that the game is using it, if this is not the case, then specify the path to the new version in the launcher settings.
Required Java versions:
- Minecraft 1.5.2-1.16.5 runs on JRE 8
- Minecraft 1.17 and newer runs on JDK 16
- Minecraft server 1.5.2-1.16.5 runs on JDK 8
- Minecraft server 1.17 and newer runs on JDK 16
You can download all versions at the bottom of the news.
Difficulties and frequently asked questions:
- There are 32bit and 64bit versions in the download, which one should I install?
You need to see the bitness of your operating system, it will be 32bit or 64bit, you can google this question, or watch a 2-minute video, respectively download the same one.
- I cannot allocate more than 1Gb of RAM to the game, I have 32bit windows, what should I do?
Alas, there is no solution, no, just reinstalling Windows to the 64bit version, the 1Gb limit is due to the 32bit bit depth.
- Can I install the 32bit version of Java on 64bit Windows?
Yes, but in this case, you will not be able to allocate more than 1024 megabytes of RAM to the game.
- Can I install 64bit Java on 32bit Windows?
No, as I said, just reinstalling the system.
- I have installed the JRE or JDK, where is the java.exe that needs to be specified in the launcher or used to start the server?
The path may differ depending on the version and the company that created the implementation of a specific Java, the folder should be searched for in C: \ Program Files
Several examples of the location of different versions of Java
JRE 8 version 301 – C: \ Program Files \ Java \ jre1.8.0_301 \ bin \ java.exe
JDK 8 version 262.10 – C: \ Program Files \ OpenJDK \ jdk-8.0.262.10-hotspot \ bin \ java.exe
JDK 16 version 0.2 – C: \ Program Files \ Java \ jdk-16.0.2 \ bin \ java.exe
- My pirate launcher cannot download and use the correct version of Java, what should I do?
The client (player) needed JRE 8 for many years, but starting from version 1.17, the game began to require JDK 16. Many pirate launchers were not ready for this, they do not have functionality, and perhaps they do not plan to create it. Therefore, either you change the launcher, for example, to launcher, or you must specify the required Java version to the launcher yourself, while you have to constantly switch the Java version to run different versions.
- Where can I see which version of Java is used by Minecraft?
Start the game, go to the world, press F3, on the top right you will find the information you need.
- I installed the correct version, but the game runs on the old version.
As I said several times, most launchers have now learned how to download and use the required version of Java on their own, while most use non-outdated versions. You should find the Java settings in the launcher and specify the path to the java.exe version you need, but note that in this case, the launcher may stop automatically changing the required version when starting 1.16.5 and 1.17.1 for example.
- What is legacy Java?
It is difficult to answer this question, formally minecraft should work even on the oldest implementation, but there are exceptions when certain mods, sometimes shaders work slowly or do not work at all. As an example, JRE 8 version 1.8.0_45 (~ 2014) can cause problems, but the difference between 1.8.0_292 and 1.8.0_301 is minimal.
- How much RAM do you need to allocate for Minecraft?
A standard vanilla minecraft without high-resolution mods and textures needs less than 1 Gb of memory, and mods may require 4, 6 and even 8Gb, with high-quality shaders and textures, memory consumption can reach 30gb and there is no limit here.
How do I install Java on Windows?
You need to download the installation file below, run it and click on Install, proceed to the end of the installation.
Download Java (Java) for Minecraft