mojira.dev
MCL-6184

Launcher fails to find Java Runtime - Fails to launch Minecraft

After upgrading to the latest launcher, it no longer find the java runtime. If I delete the existing copy of the java runtime in my minecraft directory, it happily downloads a new fresh copy, but upon trying to launch any profile it comes up with an error message stating

Unable to locate the Java runtime.
Error details: The filename, directory name, or volume label syntax is incorrect
Filename on disk: javaw.exe
Path: C:\Games\SSD\Minecraft\runtime\jre-x64\1.8.0_25\bin\javaw.exe
Exists: file

The directory is there, the expected files are there, and it worked perfectly fine under the old launcher.

So, the new launcher knows how to download the java runtime, it knows where to put it, it knows where it is, but it still fails to use it.

The version of java is the exact same as is used by my curse-managed modded minecraft installs, which still use the old launcher, and there everything works flawlessly still.

Note that manually changing the java version used by the profile from the default of '<use bundled java runtime>' to use my normal java install also works fine, the problem seems to be with the launcher using the one it manages itself.

Linked issues

Attachments

Comments 4

What graphics card do you have and what Drivers belong to that Graphics Card?

If you are using Nvidia and the newest Nvidia Drivers then this has been a recent issue and I have had a problem with it. You can fix the issue by going to this link. The link goes to the support page of Nvidia and has a hotfix for the drivers which repairs the bug for minecraft and any other Java based games. http://nvidia.custhelp.com/app/answers/detail/a_id/4378/kw/Minecraft/session/L3RpbWUvMTQ4NzA5NzYyMy9zaWQvazRQNmdlYm4%3D

Thanks for chiming in Jamie, but this doesn't seem to be the solution in this case.
First of all, the Nvidia driver fix fixes a CRASH with java, while this issue is not a crash at all, it is simply the launcher not being able to find it's own provided java, so it doesn't even try to start anything, much less getting to a point where anything could actually crash.
Secondly, my driver works fine with the same version of minecraft and java with the old launcher, this is a new problem spesific to the new launcher.

That being said, since my Nvidia drivers was a couple of months old (I wasn't on the affected version), I did upgrade them to the newest version with the hotfix anyway, but no difference in behavior.

migrated

(Unassigned)

Unconfirmed

Retrieved