mojira.dev
MCL-6106

--workDir workaround does not work for hard-linked .minecraft directory

Reading through issue MCL-5528 I applied the --workDir parameter to my Minecraft shortcut and it seemed to work as the original error went away:

The game directory is invalid or inaccessible.
Error details: The system cannot find the file specified
Filename on disk: .minecraft
Path: %USERPROFILE%\AppData\Roaming\.minecraft
Exists: directory

However, now I am receiving this error:

Unable to locate the Java runtime.
Error details: The system cannot find the file specified
Filename on disk: javaw.exe
Path: %USERPROFILE%\AppData\Roaming\.minecraft\runtime\jre-x64\1.8.0_25\bin\javaw.exe
Exists: file

(They don't actually display %USERPROFILE%, just making messages more succinct)

Is there a parameter for controlling the Java version that the Launcher uses?

Linked issues

Comments 2

Update issue with more labels and better description.

Is this still a concern in the current Minecraft Launcher version 2.0.1003 / 2.0.1004? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. It will be reopened it as soon as the requested information has been delivered.

migrated

(Unassigned)

Unconfirmed

directory

Retrieved