The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Dynamic lass loading in applets from jar files

Posted by Sudipta Sinha on August 16, 2000 at 6:05 AM

Hi all,


I have a problem - When I try to load class files dynamically
into an APPLET using FORNAME as is discussed in the section on
Dynamic Extension on this website,I have no problems.
However if my class files are located in separate Jar files
Then how will the JVM class loader know that the class file
which i want to load is in a particular jar file?

Do we have to write a separate classLoader for it? In that case
I have to make my applet a signed one , right?

> I would be extremely grateful if you could tell me how
> to go about it.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us