mojira.dev
MCL-14155

Launcher workDir argument no longer accepts relative directory.

NOTE: 2.1.14948 is missing from the Affects Versions list
Previously I could launch the launcher using the following arguments from my directory:

C:\Minecraft>MinecraftLauncher.exe --workDir .

Now I have to specify the full path for it to accept the path:

C:\Minecraft>MinecraftLauncher.exe --workDir C:\Minecraft\

Linked issues

Comments 3

I can confirm as I got hit by this too. My relative path is minecraft, but attempting to launch Minecraft (any version) results in a crash (exit code 0; Error: Could not find or load main class net.minecraft.client.main.Main) (which I contextless reported at MCL-19780 (I’ll ask that be closed as “Incompete”))

Thank you for your report!
We're tracking this issue in MCL-20059, so this ticket is being resolved and linked 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:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

This is no dublicate of MCL-20059 because MCL-20059 talks about the MISSING workDir option in WindowsStore Launcher, but this issue handles the existing workDir Option in the Java-Lauchner, that lost the abbility to handly relative directories.

 

p.s. this issue still exists in Launcher core version: 2.3.280 (420153dd4d97cde894c594c99c4dbaaee5da3470).
In my case the Launcher opens, but when using a relative path it shows "non existent" error when you hit the play button.

migrated

(Unassigned)

Unconfirmed

Retrieved