Unable to locate the Java runtime
There are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off

The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcher
What actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: file
Steps to Reproduce:
Start Launcher
Click Play
I've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Environment
Windows 10 with current Java 8 as of the time of this posting.
Linked Issues
is duplicated by49
Created Issue:
Unable to locate the Java runtime
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Environment
Windows 10 with current Java 8 as of the time of this posting.
Linked Issues
is duplicated by7
duplicates
is duplicated by
duplicates
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
Just got the new launcher.. and now I can't play Minecraft. It says that the Java runtime cannot be located even though the path it's pointing to clearly exists.
See attachment.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Moderator NoteThere are essentially two seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions.
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially two seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions.
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially two seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Moderator NoteThere are essentially t
woseperate issues combined in this ticket number:1. A general problem with symlinks and junctions. Please see this this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles.
The launcher is crap.It even crashed and Windows had to close it.Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
is duplicated by
is duplicated by
is duplicated by
Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
Moderator NoteThere are essentially three seperate issues combined in this ticket number:
1. A general problem with symlinks and junctions. Please see this comment for details on how to fix this temporarily.
2. A bug that causes issues with detection of the Java runtime. To fix this issue manually, you need to delete the "runtime" folder in the following folder: "C:\Program Files (x86)\Minecraft\".
3. Make sure the Java Executable setting on any launcher profiles you have set up in the Launch Options menu is set to off
The new launcher (2.0.74) cannot launch minecraft because it cannot find the executable.
What I expected to happen was...:
The game launches just like ALL previous versions of the launcherWhat actually happened was...:
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: C:\ProgramData\Oracle\Java\javapath\javaw.exe
Exists: fileSteps to Reproduce:
Start Launcher
Click PlayI've also RESET the profile BACK to specifying the actual path to the exe because for some stupid reason the new crap launcher changed the settings on ALL my profiles. The launcher is crap. It even crashed and Windows had to close it.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Duplicate of MCL-5638
Thank you for your report!
However, this issue is a Duplicate of MCL-5638.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Oh, this is great. This issue is NOT a duplicate. please re-open and investigate for me.
By the way, in MCL-5638, the last comment mentioned that they changed the folder name to _25. However when I do that, the new launcher re-downloaded _51 again, and still doesnt work.
Thank you for your report!
However, this issue is a Duplicate of MCL-5638.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Duplicate of MCL-5638.
This is Minecraft Launcher issue.
Duplicate of MCL-5638.
Please search before creating a report to make sure your issue hasn't already been reported.
For help with Java runtime see MCL-5638. Please take a look at the Moderator’s Note on that ticket to see solutions to your issue.
See the description of MCL-5638 for instructions on how to fix this issue. If that does not help, I recommend you reach out to community support.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Does MCL-5638 describe your issue? If not, can you provide more information about your issue?
Thank you for your report!
We're actually already tracking this issue in MCL-5638, so I've resolved and linked this ticket as a duplicate.
To resolve this problem, please contact the Community Support.
Besides that, bug reports are generally only accepted in English.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
We're actually already tracking this issue in MCL-5638, so I've resolved and linked this ticket as a duplicate.
That ticket has already been resolved as Fixed. The fix will arrive in the next version or is already included in the latest development version of the game, you can check the Fix Version/s field in that ticket to learn more.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
We're actually already tracking this issue in MCL-5638, so I've resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Please check if the instructions from MCL-5638 solve your issue.
If you still have the issue after that, please contact Community support, linked below:
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

I have discovered that the launcher ignores any path to javaw.exe that I place in the profile.
I also had to specify the path to the game directory, that was lost with the new launcher.
I also had to specify they java options, that was lost with the new launcher.
Same thing with v2.0.806 - Still cannot play Minecraft.
Same for me.
Just got the new launcher.. and now I can't play Minecraft. It says that the Java runtime cannot be located even though the path it's pointing to clearly exists.
http://imgur.com/a/b8qwN
Is this going to be fixed anytime this year? I haven't been able to play minecraft since the new launcher came out. Do I have to demand my money back for the game I can no longer play?
I have this error any time a new snapshot comes out, If I wanted to play a regular un-modded snapshot for example, 17w06a, It wouldn't let me. Instead, I get a message reading the following:
Unable to locate the Java runtime.
Show more details
Error details: The system cannot find the path specified
Filename on disk: javaw.exe
Path: C:/Users\Fall\AppData\Local\Temp\Rar$EXa0.557\minecraft_test_launcher\runtime\jre-x64\1.8.0_51\bin\javaw.exe
Exists: false
----------
I really dislike this bug and I hope for it to get fixed soon.
Really wish I could get a preview of new updates before their releases, all mods I use plus all versions besides snapshots work.
Looks like the launcher fails to find the Java runtime when the path contains symlinks or junctions.
I was experiencing the same issue. In my case bundled Java runtime was used which was at D:\games\Minecraft\runtime\jre-x64\etc... but in my system D:\Games is actually a junction targeting at E:\Games:
>dir d:\ | find "Games"
18.08.2015 21:11 <JUNCTION> Games [\??\e:\games]
So I changed the launcher shortcut to E:\games\Minecraft\MinecraftLauncher.exe and the problem gone.
C:\ProgramData\Oracle\Java\javapath\javaw.exe is a symlink so the new launcher fails to run the game on that too:
>dir c:\ProgramData\Oracle\Java\javapath\javaw.exe | find "javaw"
17.11.2016 01:26 <SYMLINK> javaw.exe [C:\Program Files\Java\jre1.8.0_111\bin\javaw.exe]
The new launcher is unable to find my workdir or java executable because I'm using a mounted volume (C:\home) instead of a dedicated drive letter.
When Curse automatically updated the Minecraft launcher, I got the error "Game directory is invalid or inaccessible." I created a new instance and saw the same error. I copied the new instance folder to the root C:\ and updated the Game Directory in the Launch Options in the new launcher, and then it then gave me a different error: "Unable to local java runtime." I verified the path to javaw.exe was valid, and copied this file to the new folder on C:\ and then I was able to launch Minecraft normally.
I cannot use the java links in the version 2.0.847 either:
Java SE runtime 8_131, Windows 7
This issue still exists with 2.0.934.
With no settings changed in the launcher, I get the following error:
If I tell it where to find its javaw.exe, it still fails with the same error text.
Affects latest version of MCL with Java 10
On june 28 I had the same problem so i went into.
Path: C:/Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25\bin\javaw.exe
Exists: false
But when i went there the file said : C:/Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_51 so i changed the 51 into 25
read the comment above yours (Brandon Bernal Silva's). It works.
Brandon Bernal Silva is right it worked for me to fix my error! Im going to go to more detail cause it took me a while to figure it out. First you want to go to "C:\Program Files (x86)\Minecraft\" then click on runtime then jre-x64 the next page will show you 1.8.0_51 rename that to 1.8.0_25 and try your launcher. im sorry if this does not help you.
C:/Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25\bin\javaw.exe
I renamed the path to... \1.8.0_25... then I followed the path all the way to javaw.exe, right click on javaw.exe and click on run as admin.
Everyone having this issue: Please check what's in the "Java Executable" setting after a reinstallation of Minecraft.
Should be looking like this:
@Kumasasa My launcher doesn't even look like that my switch button things are on top and there are only 3
Use the "Burger Menu" (3 lines) in the top right to expand the options.
Thanks that completely fixed my Minecraft for now!
Jackson Ferris, what was that "Java Executable" setting before?
It was C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25\bin\javaw.exe you have to change the 25 to a 51 I the setting
can someone please tell me how to fix this
all good fixed it don't worry fixed
Ashlyn Lance, see the last four comments before yours or #3 in the yellow panel of the description
i am having a similar issue but mine says this,
Error details: Incorrect function
Filename on disk: javaw.exe
Path: C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_51\bin\javaw.exe
Exists: false
any help on how to fix it?
Emilio, did you read the big yellow box titled red "Moderator Note" in the description of this ticket and follow it's instructoons?
not yet, i wasn't sure if my problem was the same as the others as my error details say "incorrect function" while other comments in this post say "the system cannot find the path specified"
1. does not effect my situation but for 2. my computer does not allow me to delete the runtime folder
This should be partially fixed in the next release:
I'll have to look into the rest of the issues here...
So why can't we have resolved it as using one of these?
@peterix: Can this issue be closed? I think the remaining issues are all solvable by tech support.
Is there an update to resolving this issue with the 2.1.15850 launcher? I'm not sure if I should submit a new issue since this ticket is closed, but it is the same exact message that I'm getting. I have deleted the program file like the old fix says to. I cannot figure out how to make sure java is executable, though. I went to the launcher settings and could find no way to check how the game is trying to launch or anything.
Please read the moderator note for possible solutions - if they do not help, Please check the Technical Support Resources, or the Community Support Discord - please note that technical support for Minecraft is done by volunteers, so please be patient if you do not receive an answer right away.