LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Java applets not working on iceweasel (http://www.linuxquestions.org/questions/debian-26/java-applets-not-working-on-iceweasel-781296/)

radiodee1 01-10-2010 01:41 PM

Java applets not working on iceweasel
 
Hi,

I have gnome, iceweasel, and java installed. Java works fine from the command line, but not on sites like the one below.

http://www.nintendo8.com/game/244/lode_runner/

I have java enabled. I'm running squeeze. The 'add-ons' dialog in iceweasel lists the following:

Code:

Java(TM) Plug-in 1.6.0_16
this is the output from the Java console when trying to load the applet:

Code:

load: class AppletGui not found.
java.lang.ClassNotFoundException: AppletGui
        at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:152)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:445)
        at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:2880)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1397)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:525)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
        at sun.plugin2.applet.Applet2ClassLoader.getBytes(Applet2ClassLoader.java:458)
        at sun.plugin2.applet.Applet2ClassLoader.access$000(Applet2ClassLoader.java:46)
        at sun.plugin2.applet.Applet2ClassLoader$1.run(Applet2ClassLoader.java:126)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:123)
        ... 6 more
Exception: java.lang.ClassNotFoundException: AppletGui

I think the problem may have to do with where it says "Caused by: java.net.ConnectException: Network is unreachable" but I'm not sure what that means. Any help would be appreciated. Thanks.

the trooper 01-10-2010 02:04 PM

Have a look at the following link:

http://www.linuxquestions.org/questi...ps-...-778366/

You can also check your java plugin here:

http://www.javatester.org/version.html
http://www.javatester.org/enabled.html

Also that link you posted freezes Iceweasel for me.....

radiodee1 01-10-2010 02:25 PM

The suggestions in the link you pointed to totally worked. Thank you. :)

woodelf 01-15-2010 05:01 PM

Thank you, Thank you, Thank you

Running 'squeeze' I'd gone for weeks without access to internet banking because of this.

I just kept updating thinking that as usual it would be resolved over time.

However as I thought it was taking too long and googled (is your friend) the problem on the off-chance it could be solved by a non-programmer.

Such a simple solution and bingo back to full functionality again.

Incidentally, I think it was installing Google Chrome browser that screwed things up - maybe.

Anyway, thanks again.

leapy 06-01-2010 06:31 PM

Quote:

Originally Posted by the trooper (Post 3821531)

Very Many THANKS! I thought Java was never going to work for me .... I appreciate the post.

L


All times are GMT -5. The time now is 05:05 PM.