Monday, 15 July 2013

java - NoClassDefFoundError + Appl -



java - NoClassDefFoundError + Appl -

i seek create first applet. called memosaver2.java

also created html:

<html> <object classid="java:memosaver2.class" type="application/x-java-applet" archive="memosaver2.jar" height="300" width="450" > </object> </html>

and this:

<html> <head> <title>memo saver applet</title> </head> <applet code="ch13.memosaver2.class" width = 600 height= 400> java not installed. </applet> </html>

but same error.

noclassdeffounderror memosaver2( wrong name: ch13/memosaver2)

what should running applet browser?

list item /home/me/workspace/myproject/bin applet.html

/home/me/workspace/myproject/bin/test simpleapplet.class

if class simpleapplet in bundle test set html in parent directory (as detailed above), , utilize html.

java html applet noclassdeffounderror

No comments:

Post a Comment