Re: Mac OS Java Update ( 1.6.0_20) breaks JOGL applets
Posted by
Wade Walker on
Apr 30, 2011; 11:45pm
URL: https://forum.jogamp.org/Mac-OS-Java-Update-1-6-0-20-breaks-JOGL-applets-tp827857p2884529.html
blainebell wrote
VALIDATE: libnewt.jnilib
java.io.IOException: Cannot validate certificate for libnewt.jnilib
at org.jdesktop.applet.util.JNLPAppletLauncher.validateCertificates(JNLPAppletLauncher.java:1870)
...
I still don't know what this message means, and why it wouldn't be able to validate a certificate for a jnilib, since the jarsigner should correctly sign the jar files and all of the files inside it. If anyone has any idea, let me know.
Looking at the code for JNLPAppletLauncher, it looks like this error happens if libnewt.jnilib either doesn't contain a security certificate at all, or if its certificates don't all match the ones in the JAR file that contains JNLPAppletLauncher. So perhaps you're pulling your JARs and natives from two different places? Your log says it's using a previously cached version of the natives JAR, so you might try deleting the cache in /Users/bell/.jnlp-applet. You could also try putting a few print statements in JNLPAppletLauncher.checkNativeCertificates() to find exactly where it's failing.