Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Japplet throws ClassNotFoundException

baradaniktoAug 25 2013 — edited Sep 9 2013

I've built an applet (from JApplet) that consumes several other jar files.  I've signed the jar that contains the main class and included all of the jars I need (I think).  However, no matter what I try, I consistently get "java.lang.ClassNotFoundException: newposting" where 'newposting' is the main class within my signed jar.  I'm using the following html for this:

<p><applet code="newposting" archive="HartfordRowingNewPosting.jar, javax.mail.jar, jcalendar-1.4.jar, junit-4.6.jar, jgoodies-common-1.2.0.jar, jgoodies-looks-2.4.1.jar, mysql-connector-java-5.1.25-bin.jar" width="500" height="850">

<param name="permissions" value="sandbox" /> <param name="codebase" value="HartfordRowingNewPosting" /></applet></p>

I've been frustrated with this on and off for the last month or so.  Can someone shed some light on this?  Am I getting this error because of JApplet?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2013
Added on Aug 25 2013
1 comment
1,466 views