Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Java Applets suddenly stopped working in Firefox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
escitalopram
n00b
n00b


Joined: 05 Feb 2004
Posts: 60

PostPosted: Thu Aug 04, 2005 2:37 pm    Post subject: [solved] Java Applets suddenly stopped working in Firefox Reply with quote

Hi,
I have the following problem: I don't know what I did wrong so that the following happens:
I use the Java-plugin for Firefox from the sun-jdk and it is recognized by Firefox (It's in about:plugins, and I can also open the java console)

BUT

Whenever I want to view an applet, I get a java.lang.ClassNotFoundException for whichever class that happens to contain the applet. What's wrong? Is this a "feature" of Firefox 1.0.6 or something?

Please help
I need applets
thx
_________________
http://www.blasphemie.at/


Last edited by escitalopram on Thu Sep 08, 2005 11:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
shymarsupial
n00b
n00b


Joined: 03 Aug 2005
Posts: 2
Location: USA

PostPosted: Thu Aug 04, 2005 7:02 pm    Post subject: Reply with quote

Hi,

Have you always had this problem or did it just start happening? If it has never worked correctly, my guess would be that there was some sort of installation error when you installed java and some system class wasn't were it is supposed to be.

Since your getting that error, at least you know Firefox has found the Java definition, so it shouldn't be a Firefox problem.

I would suggest reinstalling the Java.

Good luck.
_________________
Check out our website sevesclothing.com
Back to top
View user's profile Send private message
escitalopram
n00b
n00b


Joined: 05 Feb 2004
Posts: 60

PostPosted: Thu Aug 04, 2005 9:40 pm    Post subject: Reply with quote

Remerged Java & Firefox
Still no change. Java once did work.
Looking more closely at that ClassNotFoundException, I found out, that it is caused by a ConnectException. Here's the full error message (GetHost.class being the applet):
Quote:

java.lang.ClassNotFoundException: GetHost.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:619)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1879)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:548)
at sun.applet.AppletPanel.run(AppletPanel.java:299)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.ConnectException: Invalid argument
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 9 more

_________________
http://www.blasphemie.at/
Back to top
View user's profile Send private message
escitalopram
n00b
n00b


Joined: 05 Feb 2004
Posts: 60

PostPosted: Tue Sep 06, 2005 9:21 pm    Post subject: Reply with quote

I just downloaded the Mozilla 1.0.3 ebuild and reverted to the old version. The problem is gone now.
_________________
http://www.blasphemie.at/
Back to top
View user's profile Send private message
escitalopram
n00b
n00b


Joined: 05 Feb 2004
Posts: 60

PostPosted: Thu Sep 08, 2005 11:03 pm    Post subject: Reply with quote

The new mozilla-firefox-1.0.6-r5 ebuild also fixes the bug
_________________
http://www.blasphemie.at/
Back to top
View user's profile Send private message
juanignaciosl
n00b
n00b


Joined: 09 Jun 2005
Posts: 34

PostPosted: Fri Sep 09, 2005 10:19 am    Post subject: Adblock Reply with quote

I've noticed serious issues with applets having Adblock installed. Installing that extension makes several applets not to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum