question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.

See original GitHub issue

so 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:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
devonhumecommented, Nov 7, 2022

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!

0reactions
Pyanda6991commented, Nov 26, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found