-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting Minecraft older than 1.19 crashes on Apple Silicon #170
Comments
Interesting 🤔 You're running on a macOS M1 processor I guess? If so, I think that Mojang doesn't provide a JVM for such system, it's why you are required to specify a java exec path, or let the launcher search for a "built-in" JVM, in your case it appears that its version is wrong for running 1.12.2 For zulu-8, I don't know why it isn't working as 1.12.2 should work with java 8, the main class for 1.12.2 shouldn't be of class file version 1.61. Could you try running the launcher with verbose flag -vv to display the full command line? |
When I try to execute it with -v or -vv it says |
The verbose flag need to be put before the sub command |
Okay, here's the output, I have hidden my email for security purposes.
|
Can you try launching with |
Wow, this doesn't look good at all! I'm afraid that the problem come from your Apple M1 chip, because Mojang were not supporting Apple M1 until 1.19. Moreover, Minecraft 1.12.2 is depending on LWJGL 2.9, which is a legacy version of LWJGL which is really complicated to work with other architectures. If the LWJGL version was 3.3.0 (minimum), it would've been possible to support M1 using the However, if you find someone with an LWJGL 2.9 port for M1, I would happily implement 2.9 to the (@Ristovski 's answer appeared while writing this, but I think his answer won't work because LWJGL 2.9 and 3.3 APIs are incompatible) |
Still getting the same error. I checked |
oh, that's sad. |
This article looks interesting: https://shadowfacts.net/2022/lwjgl-arm64/ |
Okay, because I just wanted to ask how mojang starts Minecraft 1.12.2 on Apple M1 if it's not supported. |
The official launcher make it works? |
yeah |
Prism Launcher, MultiMC, etc. also work |
Are you sure those are not simply using the Rosetta x86 -> arm64 binary translation present on M1 Macs? |
I have no idea. Could be, but even if so I would have no idea on how to implement that. (I know Python but I have no experience with that) |
So, how can we fix this issue? |
No update on my side, I need to get my hands on an Apple Silicon (should be possible soon) to really understand what's going on! PS: If anyone knows a M1 emulator, I'm also happy :) |
According to the Zulu JVM, there should have been a prompt to install Rosetta 2 when installing Zulu. Can you check if it is indeed installed by running the following in a Terminal: I assume that with Rosetta 2 installed, Zulu should be able to run x86 libglfw and others on Apple silicon. |
It's responding with |
Hmm, quite weird then. Sadly, I am out of ideas as to why it is not working in that case. |
Categorized this to enhancement because it's more related to supporting Mojang's flaws, the launcher itself is not bugged. I'll also release the second patch soon so this will not be directly included in it. |
My code
Crashes with
If I understand this correctly, it can't find the correct JVM. I tried using Zulu-8, so I tried this
but it crashed with
The text was updated successfully, but these errors were encountered: