Board index » jbuilder » Finding classes in external jar files
Finding classes in external jar files
2003-10-28 05:54:44 AM
When I build a project jar file, usually that jar file does not contain the
JRE classes. When I execute the jar file, the jar file seems to find JRE
classes if they have been previously installed in the system.
However, when I try to find classes that happen to reside in other jar
files, which happened to be listed in the CLASSPATH, it seems that the
class loader should find those classes. However, I get
I can include the library (jar) in my project and than everything is fine.
But I do not want to do that. I do not want to package the other jar file
with mine. I would like for a class loader to find the other classes in the
external jar files as listed in CLASSPATH statement.
Is this possible? Any ideas how could this be accomplished.