When you launch Minecraft, it searches for the Java Runtime in which game code execution takes place. And when the Minecraft Launcher is unable to locate this Java Runtime while launching the game, the Unable to locate the Java Runtime Error pops up. Minecraft is a sandbox game that allows you to explore and create a customized environment. This game is developed by Mojang Studios and is written in Java. If you are also facing the Unable to locate the Java Runtime Error while playing Minecraft, then you are at the right place. This guide will show you several methods following which you can resolve this issue. So, make sure to read this guide till the end.
Fix: Minecraft Unable to locate the Java Runtime Error
Minecraft is one of the most played games in the world. This game is a decade old but gets updated from time to time. If you have encountered the “Unable to locate the Java Runtime Error”, then there is a high chance that you have launched the game after quite a while. It is so because this error was faced by players when Minecraft experienced a major update near June 2022. This update tweaked many things related to the java development of the game thereby causing this error. But, no one should worry about the same as it is easily fixable. Follow the steps mentioned below to fix this issue:
- Launch Minecraft Launcher.
- Go to Options > Advanced Settings and then, select your Profile.
- Here, find the Java executable option and turn it off. If you see any files present in this location, make sure to delete all of them.
If you still facing this error even after following these steps, then you must try updating the game. Don’t forget to restart the launcher after updating the game. Furthermore, you can also try to resolve this issue by reinstalling Java Runtime Environment and the Minecraft Launcher as well.
This brings us to the end of this guide. It was everything regarding resolving the Minecraft Unable to locate the Java Runtime Error. If you found this guide helpful, share it with your friends.
Related: Minecraft/Minecraft Dungeons Error Code 0x87e50029 On Windows PC: How to fix it