-
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,
Brian
-
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?
-
Yeah I doubled checked everything and everything is enabled. I feel like it may be a problem with the classpath.
-
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.
-
As said above make sure you have all the required class files, and make sure the JRE settings for applet is correct.
-
Our thread starter must comment on this to carry on further here.