By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,784 Members | 1,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,784 IT Pros & Developers. It's quick & easy.

java applet grey in browser

P: n/a
i have an java applet, and when i start it it shows a
gray win with x. the console shows

java.lang.NoClassDefFoundError: GeomApplet (wrong name: vj3/GeomApplet)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :502)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at sun.applet.AppletClassLoader.findClass(AppletClass Loader.java:148)
at
sun.plugin.security.PluginClassLoader.findClass(Pl uginClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 99)
at sun.applet.AppletClassLoader.loadClass(AppletClass Loader.java:114)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 55)
at sun.applet.AppletClassLoader.loadCode(AppletClassL oader.java:501)
at sun.applet.AppletPanel.createApplet(AppletPanel.ja va:566)
at sun.plugin.AppletViewer.createApplet(AppletViewer. java:1775)
at sun.applet.AppletPanel.runLoader(AppletPanel.java: 495)
at sun.applet.AppletPanel.run(AppletPanel.java:292)
at java.lang.Thread.run(Thread.java:536)

my class file is in the same folder as the html page where i put
<APPLET CODE="GeomApplet.class" WIDTH="353" HEIGHT="207" VIEWASTEXT
</APPLET>


dose anyone know what's the problem
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"polilop" <fm******@inet.hr> wrote in message
news:d8**********@ss405.t-com.hr...
i have an java applet, and when i start it it shows a
gray win with x. the console shows

java.lang.NoClassDefFoundError: GeomApplet (wrong name: vj3/GeomApplet)

my class file is in the same folder as the html page where i put
<APPLET CODE="GeomApplet.class" WIDTH="353" HEIGHT="207" VIEWASTEXT
</APPLET>


Maybe GeomApplet is part of a package and you haven't reproduced the
package structure properly. Difficult to tell without the original source
code it came from.

- Oliver
Aug 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.