-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Linkage Error while loading Main Class #1613
Comments
Are you sure it uses the correct java binary? |
What would be the correct binary? How would I see that |
I would look into the java settings for that instance or at the launch command (in the console). |
I looked at it's using java 17, which I assume is the correct one?
|
Having the same issue with linkage
Same Operating System env as op |
Hm, as to my knowledge the current msrv is Java 17. You could try with a newer version if you want. |
Mmh, I'm not sure what newer version you're talking about? |
Alright, so after looking more, I had to manually change the java used by GD launcher to use the one I had installed in program files(jdk 22) and now I'm able to launch minecraft. The problem then is that GD launcher has an automatic version which doesn't work for 1.20.5+ |
Eather i did not correctly changed java manualy or it did not work for me. However, after reinstalling GD launcher (and updating it to a newest version) and running autoinstall for java inside client i am able to install all minecraft versions without getting the error. For anyone who is having this issue i suggest to check if your current version of the laucher up to data. |
https://github.com/gorilla-devs/GDLauncher-Carbon is the up to date version of the launcher. The Gorilla Devs announced here that the Carbon version of GDLauncher will be maintained, and the legacy launcher (this repo) will not be receiving further updates. I've been using it for 1.21 and it's rock solid. |
Describe the bug
While trying to play on a 1.20.5 instance, I get an error and it refuses to launch.
To Reproduce
Steps to reproduce the behavior:
Operating System:
Additional context
I have tried to reinstall JDK 22 but it didn't change anything.
The error text:
ps stderr: Error: LinkageError occurred while loading main class net.minecraft.client.main.Main
java.lang.UnsupportedClassVersionError: net/minecraft/client/main/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
The text was updated successfully, but these errors were encountered: