Running P3D Processing sketch in JAR file, using Netbeans

This is an annoying problem with Ubuntu’s OpenJDK. You’ll get the same problem running JOGL / Processing / PDE against that. You could try a downgrade to OpenJDK 8, or downloading an OpenJDK from AdoptOpenJDK instead.

Incidentally, you know we’re on NetBeans 12.2 now, and 12.3 is almost out?!