Posted by
Predrag Bokšić on
Jan 10, 2018; 5:08pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038524.html
64 bit VMware Workstation 14.1.1 build-7528167 machine, Kubuntu 16 with Oracle JDK 9 has
mysteriously gone astray. The same result can be seen in Kubuntu 17.10 with the default Java.
This one has an empty canvas...
http://www.docjava.com/book/cgij/code/jnlp/joglquad.jnlpAnd the second one does not launch.
http://www.docjava.com/book/cgij/code/jnlp/j3d.examples.boids.Main.jnlpjava.lang.NullPointerException
at javax.media.j3d.JoglPipeline.getGraphicsConfig(JoglPipeline.java:8507)
at javax.media.j3d.Canvas3D.getGraphicsConfig(Canvas3D.java:953)
at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1025)
at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:986)
at j3d.examples.boids.WrapFlocking3D.<init>(WrapFlocking3D.java:58)
at j3d.examples.boids.Main.<init>(Main.java:86)
at j3d.examples.boids.Main.main(Main.java:99)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at jdk.javaws@9.0.1/com.sun.javaws.Launcher.executeApplication(Launcher.java:1741)
at jdk.javaws@9.0.1/com.sun.javaws.Launcher.executeMainClass(Launcher.java:1677)
at jdk.javaws@9.0.1/com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1525)
at jdk.javaws@9.0.1/com.sun.javaws.Launcher.run(Launcher.java:158)
at java.base/java.lang.Thread.run(Thread.java:844)
And in the real-mode Kubuntu 16, both applications work well.
Julien, jconsole typically prints out that long list of VM arguments. The JNLP file contains just a few that you've suggested.