[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
See original GitHub issueso i’m just starting on libgdx and i use ubuntu 20.04 and this error pop’s up in the console [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
this is my code
public class DesktopLauncher {
public static void main(String[] args) {
Lwjgl3ApplicationConfiguration cfg = new Lwjgl3ApplicationConfiguration();
cfg.setIdleFPS(60);
cfg.setTitle("PONG");
cfg.useVsync(true);
cfg.setWindowedMode(960, 640);
new Lwjgl3Application(new Boot(), cfg);
}
}
and boot extends Game
i’m also using libgdx1.9.13
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Unsupported JNI version detected in LWJGL - Stack Overflow
[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
Read more >Upgrade issues - LWJGL Forum
[LWJGL] [MemoryAccessor] Unsupported JVM detected, this will likely result in low performance. Please inform LWJGL developers.
Read more >Incredibly efficient red-pixel-scan aimbot - Page 39
[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
Read more >A fatal error has been detected by the Java Runtime ...
[20:22:57] [Client thread/INFO]: LWJGL Version: 2.9.4 ... If you would like to submit a bug report, please visit:
Read more >Can't launch minecraft forge - Support & Bug Reports
[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I ran into this issue as well. I was able to resolve the error by changing my sdk from 19 to 17.
Thank you Frosty-J for your replies on this thread!
This is still very much an issue. However, I am using Java 19. So, I will be changing to Java 17. Just thought I would update you.