It seems that since version 887 of a Minecraft Launcher, the --workDir switch that is used to specify a custom working directory does not work anymore.
For example, on a fully updated Ubuntu 20.04, when downloading and installing the Minecraft package, then running:
minecraft-launcher --workDir=/home/asciiwolf/.minecrafttest
It crashes with:
[Info: 2021-04-15 19:47:33.745070895: Common.cpp(32)] Native Launcher Version: 921
[Info: 2021-04-15 19:47:33.745108725: Common.cpp(33)] Operating System: Linux
[Info: 2021-04-15 19:47:33.745119655: Common.cpp(34)] Application Data directory: //.../.minecraft
[Info: 2021-04-15 19:47:33.745130116: Common.cpp(35)] Executable Path: /.../minecraft-launcher
[Info: 2021-04-15 19:47:33.745139456: Common.cpp(36)] App Directory dir: //.../launcher
[Info: 2021-04-15 19:47:33.745152666: Common.cpp(37)] Game data directory: //.../.minecraft
[Info: 2021-04-15 19:47:33.745161876: Common.cpp(38)] Launcher dir: //.../launcher
[Info: 2021-04-15 19:47:33.745171056: Common.cpp(39)] Java dir: //.../jre-x64
[Info: 2021-04-15 19:47:33.745180256: Common.cpp(40)] TmpDir dir: //.../MinecraftLauncher.1000
[Info: 2021-04-15 19:47:33.745189396: Common.cpp(41)] x64: true
[Info: 2021-04-15 19:47:33.752443409: NetQueue.cpp(157)] NetQueue: Setting up.
[Info: 2021-04-15 19:47:33.752635912: mainLinux.cpp(250)] Running launcher bootstrap (version 921)
[Error: 2021-04-15 19:47:33.753070308: mainLinux.cpp(266)] Couldn't determine absolute path for
[Fatal: 2021-04-15 19:47:34.002021619: mainLinux.cpp(508)] Launcher crashed while executing... signal: 5
[Info: 2021-04-15 19:47:34.002089820: mainLinux.cpp(511)] Freshly updated launcher crashed.
It used to work fine before version 887. I have tried it now on multiple distros and there was the same issue on all of them.
I am including a full log as an attachment.
Linked issues
duplicates 1
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MCL-17153, 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 – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Duplicates MCL-17153