@hamoid in my experience the default java (as managed by archlinux-java) does not work with opengl sketches. I find I need to unset java to use the alternatives available at https://adoptopenjdk.net/. I have found both OpenJ9 or hotspot versions to work OK.
1 Like