Hi Xerxes,
Sorry for the delay in responding to this.
On Wed, 14 Nov 2012, Xerxes Rï¿œnby wrote:
> chromium-browser
http://jogamp.org/deployment/jogamp-current/jogl-demos/jogl
> -newt-applet-runner-angelesgl2es1.html
<snip>
> net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not
> initialize applet.
> at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:735)
> at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:676)
> at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:886)
> Caused by: java.lang.ClassNotFoundException: com.jogamp.newt.awt.applet.JOGL
> NewtApplet1Run
> at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassL
> oader.java:1609)
> at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725)
> ... 2 more
> java.lang.NullPointerException
> at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:154)
> at sun.applet.AppletPanel.run(AppletPanel.java:379)
> at java.lang.Thread.run(Unknown Source)
> java.lang.NullPointerException
> at sun.applet.AppletPanel.run(AppletPanel.java:429)
> at java.lang.Thread.run(Unknown Source)
I ran this on my Ubuntu 12.10 x86_32 machine and got a different kind of
failure, which I tracked down to this:
java/lang/UnsatisfiedLinkError: no gluegen-rt in java.library.path
at java/lang/ClassLoader.loadLibrary (line 1856)
at java/lang/Runtime.loadLibrary0 (line 845)
at java/lang/System.loadLibrary (line 1084)
at com/jogamp/common/jvm/JNILibLoaderBase.loadLibraryInternal (line 442)
at com/jogamp/common/jvm/JNILibLoaderBase.access$000 (line 59)
at com/jogamp/common/jvm/JNILibLoaderBase$DefaultAction.loadLibrary
(line 90)
at com/jogamp/common/jvm/JNILibLoaderBase.loadLibrary (line 328)
at
com/jogamp/common/os/DynamicLibraryBundle$GlueJNILibLoader.loadLibrary
(line 390)
at com/jogamp/common/os/Platform.loadGlueGenRTImpl (line 251)
at com/jogamp/common/os/Platform.access$000 (line 57)
at com/jogamp/common/os/Platform$1.run (line 186)
at com/jogamp/common/os/Platform$1.run (line 183)
at java/security/AccessController.doPrivileged (native)
at com/jogamp/common/os/Platform.<clinit> (line 183)
at javax/media/nativewindow/NativeWindowFactory.initSingleton (line 226)
at javax/media/opengl/GLProfile.initProfilesForDefaultDevices (line
1368)
at javax/media/opengl/GLProfile.access$100 (line 76)
at javax/media/opengl/GLProfile$1.run (line 157)
at java/security/AccessController.doPrivileged (native)
at javax/media/opengl/GLProfile.initSingleton (line 123)
at javax/media/opengl/GLProfile.getProfileMap (line 1857)
at javax/media/opengl/GLProfile.get (line 768)
at javax/media/opengl/GLProfile.get (line 784)
at com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.init (line 179)
at sun/applet/AppletPanel.run (line 435)
at java/lang/Thread.run (line 722)
Do you know enough about this code to comment on how the native
code library named gluegen-rt is supposed to be loaded in the context of
an applet? Is it downloaded and placed on the filesystem somehow?
I'm afraid I don't have a lot of time to debug this myself, so if you can
help me understand exactly what you think Avian (and also HotSpot,
apparently) is doing wrong, I'd appreciate it.