LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 01-10-2010, 02:41 PM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 673
Blog Entries: 11

Rep: Reputation: 36
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.
 
Old 01-10-2010, 03:04 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
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.....
 
1 members found this post helpful.
Old 01-10-2010, 03:25 PM   #3
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 673
Blog Entries: 11

Original Poster
Rep: Reputation: 36
The suggestions in the link you pointed to totally worked. Thank you.
 
Old 01-15-2010, 06:01 PM   #4
woodelf
LQ Newbie
 
Registered: Aug 2004
Location: Singapore
Distribution: Debian - testing
Posts: 1

Rep: Reputation: 0
Thumbs up

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.
 
Old 06-01-2010, 07:31 PM   #5
leapy
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by the trooper View Post
Very Many THANKS! I thought Java was never going to work for me .... I appreciate the post.

L
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Plugin java not working on Iceweasel Zolex Linux - Software 7 12-29-2009 08:15 AM
java applets not working in firefox coexistinpeace Ubuntu 3 09-23-2008 08:54 AM
Java applets not working in iceweasel mikieboy Debian 1 06-28-2007 11:00 PM
Java Plugin not working - Iceweasel 2.0.0.3, Java RE 1.6.0.01 Brian Ryans Linux - Software 7 05-11-2007 03:40 PM
java applets not working... siva_bhavani General 4 09-29-2003 11:08 PM


All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration