Problem with org.lwjgl.Sys on Raspberry
See original GitHub issueThe problem happens when I try to run the application on the Raspberry Pi 3 so it seems to be a problem with the compilation for the ARM architecture. Although on Android it works
I’ve used lwjgl 3 on raspberry pi 3 and it works well
Follow the stack:
Exception in thread "LWJGL Application" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.Sys
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:617)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:125)
Project created with gdx-setup
gdxVersion = ‘1.9.11’
- Android
- iOS
- HTML/GWT
- Windows
- Linux
- MacOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Running LWJGL on a Raspberry Pi - java - Stack Overflow
OpenGL ES has no immediate mode rendering (glBegin, glVertex, glColor). You'll have to load your geometry into VBO's and render that way. You'll ......
Read more >How to setup any version of Minecraft on Pi4 - Page 3
at org.lwjgl.Sys.<clinit>(Sys.java:118) at bib.I(SourceFile:2825) ... A fatal error has been detected by the Java Runtime Environment:
Read more >[SOLVED] Development on Raspberry Pi 4 - General Help
Hi everyone. I recently bought a RP4 and setup java and intelliJ on it and tried to run my existing game code which...
Read more >Version mismatch: jar version is '8', native libary version is '7'
Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '8' , native libary version is '7'. at org.lwjgl.Sys.
Read more >Jamvm unable to run blocky on Arch Linux
To fix the "Error: jamvm VM not supported" You need to recompile the Arch Linux java7-openjdk package and pass --enable-jamvm or ...
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 FreeTop 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
Top GitHub Comments
Wow, Replacing
api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
with
api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
Works well
Thanks
You aren’t using lwjgl3. Else the package in the stacktrace would be
com.badlogic.gdx.backends.lwjgl3
and the classes would beLwjgl3Graphics
andLwjgl3Application