Login  Register

Re: Mac OS Java Update ( 1.6.0_20) breaks JOGL applets

Posted by blainebell on Apr 21, 2011; 8:11pm
URL: https://forum.jogamp.org/Mac-OS-Java-Update-1-6-0-20-breaks-JOGL-applets-tp827857p2848471.html

> Is it just the JNLP applet launcher that doesn't work for you, or is it Java Web Start too? Maybe that would help
> narrow things down.

The only thing that doesn't work is running the applet inside the same process as the browser (i.e., setting in Java Preferences).

I have rebuilt the jogl/gluegen-rt source code, and used the jar files that the build process created, signed them.  

I was getting problems with MalformedURLExceptions, but I fixed those by changing some of the hrefs to fully qualified files (i.e., with http://....).  I am not sure why I need to do this, since it works just fine for every other platform and even with Safari/Chrome when the Applet is run in another process.

In any case, I fixed the MaformedURLExceptions, and now I *still* get this problem with Cannot validate certificate:

java.io.IOException: Cannot validate certificate for libgluegen-rt.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 21, 2011 4:09:35 PM org.jdesktop.applet.util.JNLPAppletLauncher displayError
SEVERE: java.io.IOException: Cannot validate certificate for libgluegen-rt.jnilib

how about the applet-launcher.jar file?  Where do you get that?  I resigned that, but can I build that as well?

Thanks a lot for your responses.  I *really* appreciate it.

Blaine