Releases: dominikwe09/GTA
Releases · dominikwe09/GTA
Release list
GTA Schulprojekt v1.1
Changelog
Fix: Game wouldn't launch on Java 17+ (Windows)
What was broken:
Running the game via start.bat (or double-clicking GTA.jar directly) failed with:
com.jogamp.opengl.GLException: Unable to determine GraphicsConfiguration
right when the game window tried to open.
Why it happened:
The game uses JOGL 2.4 for OpenGL rendering. On Java 17 and newer, the JVM's module system blocks JOGL from accessing internal sun.awt/sun.java2d classes it needs to negotiate the window's graphics configuration on Windows. This is a known JOGL/Java 17 incompatibility, not a bug in the game code itself.
What was fixed:
start.batnow launches the game with the required--add-exportsJVM flags that re-open those internal packages for JOGL:--add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED- Removed a stray UTF-8 BOM from
start.batthat madecmd.exechoke on the first line (@echo off) on some systems. - Added the missing
Texturen/folder to thereleasebuild — some textures (e.g.himmel3.png) were missing, causing aFileNotFoundExceptionand a blank white window after the launch fix.
Important — how to run the game:
You must run start.bat, not GTA.jar directly. Double-clicking the .jar (or running java -jar GTA.jar) skips the required JVM flags above and will fail with the GLException on Java 17+. Always launch via start.bat.