Posted by
blainebell on
Apr 19, 2011; 3:33am
URL: https://forum.jogamp.org/Mac-OS-Java-Update-1-6-0-20-breaks-JOGL-applets-tp827857p2837409.html
forgive me if this is old news, but I am still running into the problems this issue is describing.
I am using Java 1.6.0_24
In Firefox 3.6.16 on MacOS, I get this error:
java.io.IOException: Cannot validate certificate for libjogl_desktop.jnilib
at org.jdesktop.applet.util.JNLPAppletLauncher.validateCertificates(JNLPAppletLauncher.java:1870)
at org.jdesktop.applet.util.JNLPAppletLauncher.processNativeJar(JNLPAppletLauncher.java:1634)
at org.jdesktop.applet.util.JNLPAppletLauncher.initResources(JNLPAppletLauncher.java:1405)
at org.jdesktop.applet.util.JNLPAppletLauncher.initAndStartApplet(JNLPAppletLauncher.java:1309)
at org.jdesktop.applet.util.JNLPAppletLauncher.access$000(JNLPAppletLauncher.java:661)
at org.jdesktop.applet.util.JNLPAppletLauncher$1.run(JNLPAppletLauncher.java:910)
Apr 18, 2011 11:25:24 PM org.jdesktop.applet.util.JNLPAppletLauncher displayError
SEVERE: java.io.IOException: Cannot validate certificate for libjogl_desktop.jnilib
Did anyone figure out what is wrong with this? I am actually creating my own jar files, and signing them. Is there something in particular that I need to do when signing this jar file? It seems to work on windows and linux, but not macOSX. When I go to the
http://jogamp.org/jogl-demos/www/applettest-jnlp.html it works, but I have my own dependent jar files that I need to use, so i put everything on my own web page.
In Chrome and Safari, my applet runs, but nothing is shown (I can even see that it captures mouse clicks and events). This issue has been driving me crazy for the last week, so much that I re-wrapped my applet in LWJGL. But that failed, since my applet only worked on OSX. But the blank display is similar to a problem I saw with LWJGL in that all of the OpenGL context commands needed to be called from the same thread. Could this be the problem, and is there a workaround for this?
Thanks in advance,
Blaine