Results 1 to 6 of 6
Thread: ClassNotFoundException
- 12-20-2008, 03:01 AM #1
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
ClassNotFoundException
Hello,
I'm pretty new to Java and am having a problem getting applets to open.
I use Internet Explorer and Firefox as my browser with XP but switched to Google Chrome. After I switched to GC the applet wouldn't open only in Google Chrome but still worked fine in IE and FF. It also never showed any type error in GC. I had been using an older version of Java so I upgraded to version 6 update 11 today and ever since I did that the applets won't open in any of my browsers. I get the following error only when trying to open them with IE or FF. No error or opening when I try Google Chrome.
java.lang.ClassNotFoundException: JreTest.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unk nown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
Theres a lot more but this website won't let me post links since I'm a newbie?
Any help appreciated.
Thanks,
BrianLast edited by Chezelle; 12-20-2008 at 03:03 AM.
- 12-20-2008, 03:54 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
I'm not a GC user. But there should be an option to make browser Java enable, like we do on Firefox and IE. Did you check that?
- 12-21-2008, 12:57 AM #3
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
Yeah I doubled checked everything and everything is enabled. I feel like it may be a problem with the classpath.
- 12-21-2008, 06:37 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
Yes, since you have enable Java on the browser, the next step is additional libraries used. Seems you must use addition libraries. If you are using additional libraries you must add them in the classpath.
- 12-24-2008, 08:50 AM #5
Senior Member
- Join Date
- Dec 2008
- Location
- Kolkata
- Posts
- 286
- Rep Power
- 13
As said above make sure you have all the required class files, and make sure the JRE settings for applet is correct.
- 12-24-2008, 05:26 PM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
Our thread starter must comment on this to carry on further here.
Similar Threads
-
ClassNotFoundException com.mysql.jdbc.Driver
By Heather in forum JDBCReplies: 4Last Post: 03-31-2010, 01:08 PM -
Getting UnmarshalException n ClassNotFoundException in RMI
By anuj_1983 in forum New To JavaReplies: 0Last Post: 07-09-2008, 01:36 PM -
java.lang.ClassNotFoundException
By ravian in forum New To JavaReplies: 1Last Post: 01-07-2008, 11:31 AM -
java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
By simon in forum EclipseReplies: 1Last Post: 07-24-2007, 12:54 AM -
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
By Marcus in forum JDBCReplies: 1Last Post: 06-27-2007, 06:57 PM
Bookmarks