Launcher workDir argument not working
The Launcher --workDir argument seems broken.
When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz) and run
./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft
Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.
I attached four logs:
- minecraft-launcher-cli-log.log is what I see in my terminal after running the above command.
- I found launcher_log.txt and launcher_subprocess_log.txt in /home/merlijn/.minecraft
- I found launcher_subprocess_log.txt in /home/merlijn/textminecraft/.minecraft
From the CLI log, it seems as if the minecraft launcher gets executed multiple times. The first time, it correctly used workDir, but the second time, it seems to forget that parameter.
Linked Issues
is duplicated by1
Created Issue:
Launcher workDir argument not working
{{The Launcher --workDir argument seems broken. When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz) and run }}
./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft
Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.
launcher_log.txt and launcher_subprocess_log.txt are in /home/merlijn/.minecraft
launcher_subprocess_log.txt is in /home/merlijn/textminecraft/.minecraft
{{The Launcher --workDir argument seems broken. When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz) and run}}./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft
Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.
launcher_log.txt and launcher_subprocess_log.txt are in /home/merlijn/.minecraft
launcher_subprocess_log.txt is in /home/merlijn/textminecraft/.minecraftThe Launcher --workDir argument seems broken. When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz) and run
./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft
Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.
launcher_log.txt and launcher_subprocess_log.txt are in /home/merlijn/.minecraft
launcher_subprocess_log.txt is in /home/merlijn/textminecraft/.minecraft
The Launcher --workDir argument seems broken. When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz) and run
./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft
Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.
launcher_log.txt and launcher_subprocess_log.txt are in /home/merlijn/.minecraft
launcher_subprocess_log.txt is in /home/merlijn/textminecraft/.minecraftThe Launcher --workDir argument seems broken.
When I download the Other Linux tarball (https://launcher.mojang.com/download/Minecraft.tar.gz) and run
./minecraft-launcher --workDir /home/merlijn/testminecraft/.minecraft
Minecraft downloads the files Launcher to /home/merlijn/testminecraft/.minecraft but then tries to execute a non-existent launcher in /home/merlijn/.minecraft.
I attached four logs:
- minecraft-launcher-cli-log.log is what I see in my terminal after running the above command.
- I found launcher_log.txt and launcher_subprocess_log.txt in /home/merlijn/.minecraft
- I found launcher_subprocess_log.txt in /home/merlijn/textminecraft/.minecraft
From the CLI log, it seems as if the minecraft launcher gets executed multiple times. The first time, it correctly used workDir, but the second time, it seems to forget that parameter.
is duplicated by
Duplicates MCL-17153
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.
Any chance that this issue could be fixed? It is still a problem and breaks Minecraft for many Linux users.
@AsciiWolf Until this issue is fixed, you can workaround it by using an LD_PRELOAD: https://github.com/ericpruitt/homeishome