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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Applet and JARs

jvr GuestFeb 8 2011 — edited Feb 9 2011
Hi,

I have created a little applet that calls to a method of a class stored in a jar file which is allocated in the JAVA_HOME/jre/lib/ext/myfile.jar in my computer.

It works, the code at the myfile.jar works correctly in my computer.

The problems begins at the moment to execute the applet in the webserver.
I have saved the myfile.jar at JAVA_HOME/jre/lib/ext/ at server and the applet is on the web root directory. like in my computer.

It works when I have the myfile.jar in my computer at JAVA_HOME/jre/lib/ext/
but when I have deleted myfile.jar in my computer, the class is not found when the applet tries to be executed.

How can I do that the applet, call to methods in the class of myfile.jar in the ext dir at the server?

Is need a servlet?

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 9 2011
Added on Feb 8 2011
4 comments
197 views