Login  Register

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

Posted by Shawn Kendall on May 19, 2010; 4:00am
URL: https://forum.jogamp.org/Mac-OS-Java-Update-1-6-0-20-breaks-JOGL-applets-tp827857p828174.html

I am seeing change but no fixes.
While checking around, I also found this problem over at LWJGL, although the change you made does get the load to continue on, it's still busted but good :(

Here is some more tests and clarifications:
To be more specific,

On Snow Leopard:

Open applet page with default Java security settings:
In Safari
     you get "Error. Click for details" in the applet and this in the Java console:
java.lang.reflect.InvocationTargetException
        at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(DeployAWTUtil.java:116)
        at sun.plugin2.applet.Plugin2Manager.runOnEDT(Plugin2Manager.java:3415)
        at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2967)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1444)
        at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.SecurityException: attempted to open sandboxed jar http://jogamp.org/deployment/webstart-next/jogl.all.jar as a Trusted-Library

In Chrome
    you just get the same error

In FireFox
    you get VALIDATE: libjogl_cg.jnilib
java.io.IOException: Cannot validate certificate for libjogl_cg.jnilib

If the Java Pref. security settings are disabled (labeled "insecure" in the UI :-():

In Safari and Chrome:
    You get no errors in console and even run-time output (frame rate, etc) but NO render, just blank white page.

In FireFox:
    Again you get VALIDATE: libjogl_cg.jnilib
java.io.IOException: Cannot validate certificate for libjogl_cg.jnilib

On Leopard + Safari
Exception in thread "thread applet-demos.applets.GearsApplet-1" java.lang.UnsatisfiedLinkError: /Users/skendall/Library/Caches/Java/cache/6.0/0/13f5bfc0-61c0887e-n/libgluegen-rt.jnilib:  no suitable image found.  Did find:  /Users/skendall/Library/Caches/Java/cache/6.0/0/13f5bfc0-61c0887e-n/libgluegen-rt.jnilib: unknown required load command 0x80000022
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)

Are you guys not seeing these errors?