-
Notifications
You must be signed in to change notification settings - Fork 207
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
ExceptionInInitializerError at LinuxSysImplementation #156
Comments
|
Was actually easy to fix, I just had to
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am currently trying to get a Minecraft MDK running on
Linux arch-desktop 5.6.12-arch1-1 #1 SMP PREEMPT Sun, 10 May 2020 10:43:42 +0000 x86_64 GNU/Linux
.I got this error during runtime:
Now while this is actually somewhat an issue on Minecraft's side, I am looking for help here, because the Minecraft version I'm using is not officially supported anymore, and the error is somewhat caused by an lwjgl call (I guess)..
Some context:
net.minecraft.client.Minecraft.getSystemTime
(the second to last call in the stacktrace does this`:(credit goes to Mojang or whoever did this)
where
Sys
is https://github.com/LWJGL/lwjgl/blob/master/src/java/org/lwjgl/Sys.java.Following the stacktrace I found https://github.com/LWJGL/lwjgl/blob/master/src/java/org/lwjgl/LinuxSysImplementation.java#L50
so I made a little Java Program:
Which compiled and ran perfectly fine:
So for the same line my script doesn't throw an exception?
I included the exact same file in both scripts.
One line above there is a mention of
libawt.so
andlibmawt.so
as well aslibjawt.so
. I don't know where Java searches for these files, they are however located inmy
$LD_LIBRARY_PATH
is empty but I think this should only be relevant for the c compiler and not Java VM.I found #128 suggesting that
mesa
is causing this problem. I have installed bothmesa
and the nvidia drivers, while the nvidia drivers are in use, my xorg server depends onmesa
so I can't really uninstall it that easily.I am a bit lost what I could do to move on. If there is anyone having an idea what could be causing this issue, any help would be appreciated!
The text was updated successfully, but these errors were encountered: