how can I use some classes that are inside a JAR file?
i know that I can decompress the jar file and then add the classes
inside my code, but is it possible just to call the jar file inside my
classes?
thanks,
Marcelo
Andrew Thompson - 04 Oct 2005 11:14 GMT
> how can I use some classes that are inside a JAR file?
Here's 2 ways.
- add the jar to the classpath
- create a custom class loader that can reach
the jar and load the resources.
As an aside, noob questions are better asked on
<http://www.physci.org/codes/javafaq.jsp#cljh>
Roedy Green - 04 Oct 2005 11:23 GMT
>how can I use some classes that are inside a JAR file?
see http://mindprod.com/jgloss/classpath.html
http://mindprod.com/jgloss/jar.html
http://mindprod.com/jgloss/jarexe.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.