Skip to main content

Problem with Firefox 2.0.0.13 using JNLP embedded JApplet

3 replies [Last post]
nekoni
Offline
Joined: 2008-04-11
Points: 0

Hi

I set up a JNLP simple applet to ensure it was working correctly.

Java Build is 1.6.0_10-beta-b21

Platform is Vista x64

IE7 work's fine with applet, firefox gives the following trace, the applet loads fine when lauched from either browser when launched from a hyperlink!

The following URLs also do not work on XP 32 or Vista x64 (last time I checked) with this version: https://scenegraph-demos.dev.java.net/demo-applets.html

It doesn't work at all with applet as opposed to JApplet when launched embedded, but does via Hyperlink

I am a C++ programmer who hasn't programmed Java in a while!

Thanks

/*

load: class examples.ReflectionApplet not found.
java.lang.ClassNotFoundException: examples.ReflectionApplet
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more"

*/

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nekoni
Offline
Joined: 2008-04-11
Points: 0

My applet is working now, I guess I will have to apply one of the workarounds alternatives for older browsers!

kbr
Offline
Joined: 2003-06-16
Points: 0

These demo applets require the new Java Plug-In, which in the Firefox browser family requires Firefox 3 (currently early access).

nekoni
Offline
Joined: 2008-04-11
Points: 0

Hi thanks

I wasn't aware of that it needed Firefox 3 also!