Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an very urgent problem! I wrote an Applet and integrated it to a HTML-file by using:
<applet code=SHSimulationsApplet.class width=800 height=600> </applet>.
The HTML-file and my classes are in the same directory, but when I start my homepage, I always get the message: class SHSimulationsApplet.class not found. I don't know why and what to do??
PLEASE HELP ME!!!
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using the codebase tag...
<APPLET
CODEBASE = "."
CODE=SHSimulationsApplet.class width=800 height=600
>
</APPLET>
Also, make sure your .class file is actually in the same folder as your HTML file in which the above tag is located. Is this class in a package? If so you have to include the fully-qualified class name, including the package structure.
 
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!