When clicked on in Finder the Minecraft would just jump once and exit without any message.
When run from console it just prints this and terminates:
$ /Applications/Minecraft.app/Contents/MacOS/launcher
2020-03-21 15:26:06.525 launcher[95049:7428971] Claimed it found a path: /Applications/Minecraft.app/Contents/MacOS/launcher (/Applications/Minecraft.app/Contents/MacOS/launcher) 4096
https://launchermeta.mojang.com/v1/products/launcher/022631aeac4a9addbce8e0503dce662152dc198d/mac-os.json
SaveToBuffer failed
$ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode)
I tried to remove and re-copy the bundle to Applications multiple times, I tried with multiple users on the same machine. I am looking for any clues on how to find out what's the problem.
This is Mojave 10.14.6.
Linked issues
is duplicated by 1
Attachments
Comments 4
I was able to work around the problem by adding
13.32.120.139 launchermeta.mojang.com
13.32.120.139 launcher.mojang.com
into /etc/hosts
. Ping and all other services are able to do dns lookups correctly, so not sure why the Minecraft launcher can't.
How I found the workaround:
With the help of dtruss
tool, I was able to find the launcher_log.txt
(pity that noone pointed me to it - it's in /Users/[your_username]/Library/Application Support/minecraft/launcher_log.txt
.
In the
[media]I noticed
[Error: 2020-03-28 15:06:48.572628: NetQueue.cpp(444)] NetQueue: No ip address available. Error code 6, Url: launchermeta.mojang.com
[Info: 2020-03-28 15:06:48.572777: NetQueue.cpp(480)] NetQueue: Action failed with result "Could not resolve: launchermeta.mojang.com (Could not contact DNS servers)" (6) :
not sure why it does not work, as I was able to happily ping the address. I added the address to my /etc/hosts
. After that the launcher tried to download bunch of files and crashed later. New log file nativeUpdaterLog.txt
appeared in the same dir and according to it it failed to lookup the launcher.mojang.com
. So I added that to /etc/hosts
as well. After that the launcher started succesfully into login screen. I tried to remove the hosts entries then and it was still starting (but per log it was still failing to resolve the names). Only when I removed the /Users/[your_username]/Library/Application Support/minecraft
it was failing again.
I tried to remove all javas (I had multiple versions), then I installed oracle 11.6 jdk using binary intaller, but the problem is still the same.
Any more advice?