Problem with java bindings in VTK 9

OK, so running the right demo gives:

Exception in thread “AWT-EventQueue-0” com.jogamp.opengl.GLException: Profile GL4bc is not available on X11GraphicsDevice

with a bunch of details and a stack trace. We do some things to tell Qt to make a suitable GL profile for us. We probably need to tell JOGL something similar.