Closed vushu closed 1 year ago
a work around is to use 13.0.1-zulu instead of open the java 13 openjdk
Does it also occur with earlier JDKs, such as java11 JDKs?
I just tested the earlier version and It works fine using openjdk 12 and 11
Does this also happen with LWJGL3?
Had a chance to test this with OpenJDK 13, using LWJGL 2 I am getting the same error but works fine with LWJGL 3.
I am closing this as this seems to be an LWJGL 2 compatibility issue which is not actively maintained anymore by the developer.
Feel free to reopen this in case you think otherwise.
I can confirm using the natives provided in https://github.com/libgdx/libgdx/commit/778c936c9cc35c20ded87c2ff95252c217831963 resolves this issue.
It also seems to fix this issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/1887 (I have never run into that issue before so I can not be 100% sure)
@MeFisto94 I noticed you have an updated fork of lwjgl2, are you willing to add these natives to your fork and ship it to maven (we can also migrate your fork to JME github and upload artifacts manually to maven using sonatype Staging Upload) and update JME to use it?
Oracle's Java SE 13 reached end of support in March 2020. Does the issue also occur with Java 17?
Yes, I can reproduce that issue with OpenJDK 17.
I found out the 2.9.4 version @MeFisto94 has released on his fork also does work fine with newer JDKs and I do not get libjawt.so: version 'SUNWprivate_1.1' not found
error. That is great!
We now need to confirm if it also works fine against this issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/1247
This should be #1247 as well (i.e. the missing version just crashed at the assertion on older versions instead of showing this nice error).
@MeFisto94 I noticed you have an updated fork of lwjgl2, are you willing to add these natives to your fork and ship it to maven (we can also migrate your fork to JME github and upload artifacts manually to maven using sonatype Staging Upload) and update JME to use it?
Tbh I was not even aware I managed to build it properly, or I think I wasn't sure about the jars (never just replaced the natives), so it may need testing of all corner cases. Either way, it should probably be hosted at the jme organization, so everyone could try to fix it (in case there are more problems).
when trying to run using java 13 this error occurs: