• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Running an Applet from HTML File

 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys I have these two Applets that I want to run from My web browser, I need to start the server app and then the client app on a webpage: I wrote this HTNL to do that:





When I Launch them them This is the Error I get for Both of them:






Can some one Please Assist me in what Kind Of setting I need to make to make the Applets run.
The Applets are running fine on the desktop.




 
Jesus Angeles
Ranch Hand
Posts: 2068
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it cant find the class because you did not put the parameter where it will get your jar.
 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Html file and the Jars are all in the same directory if that is what you mean???
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried myself and even if the html and the jar is in the same folder, you still need to add the 'archive' parameter to specify the jar.

For example:

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic