This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes Error: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Error: "NoClassDefFoundError" " Watch "Error: "NoClassDefFoundError" " New topic
Author

Error: "NoClassDefFoundError"

Rod Taylor
Greenhorn

Joined: Aug 03, 2012
Posts: 17

Can anyone please explain to me why this html code will keep showing "NoClassDefFoundError" with a description "SimpleApp (wrong name: applet/simpleapp/SimpleApp)"?

It's a very simple code:


And here is the html code:

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<Applet code="SimpleApp" height="500" width="300" >
</applet>
</body>
</html>

I compiled the code with a specified destination since I like it that my source and class files are separated. I put the html code in the same folder as the SimpleApp.class folder.

Any help appreciated. Thanks!


Nothing you're really good at that you don't do everyday (Will Smith)
 
Don't get me started about those stupid light bulbs.
 
subject: Error: "NoClassDefFoundError"