Login  Register

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

Posted by Sven Gothel on May 19, 2010; 1:20am
URL: https://forum.jogamp.org/Mac-OS-Java-Update-1-6-0-20-breaks-JOGL-applets-tp827857p827965.html

On Wednesday, May 19, 2010 02:37:29 Shawn Kendall [via jogamp] wrote:

>
> I should mention that if we use the old JNLPAppletLauncher fallback, I can
> get our JOGL applet to load and run.  But strangely, only in FireFox.  In
> Safari, we get a weird error:
>
> java.io.IOException: Server returned HTTP response code: 400 for URL:
> http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher$JNLPParser.parse(JNLPAppletLauncher.java:2191)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher$JNLPParser.access$600(JNLPAppletLauncher.java:2155)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher.parseJNLPExtensions(JNLPAppletLauncher.java:2046)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher.initResources(JNLPAppletLauncher.java:1329)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher.initAndStartApplet(JNLPAppletLauncher.java:1254)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher.access$000(JNLPAppletLauncher.java:658)
> at
> org.jdesktop.applet.util.JNLPAppletLauncher$1.run(JNLPAppletLauncher.java:907)
> May 18, 2010 8:34:42 PM org.jdesktop.applet.util.JNLPAppletLauncher
> displayError
> SEVERE: java.io.IOException: Server returned HTTP response code: 400 for
> URL:
> http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp
>
> Again this is still after having to go into the Java Pref settings and
> setting to insecure...
> Oh and the plug-in eventually crashes as well...:(
>

Thank you Shawn for the heads up ..

I will check the MacOSX issues before the next JAR signing .. for sure,
hopefully within this week.

Cool .. I didn't know that Apple supports the JNLP deployment method,
as you know .. this is new, before then 'applet-launcher' was the only method
for proper deployment on osx ..

Later, Sven