M
Mike
Hi,
I have my program in jar file and it work's. However, when I try to
add new functionality to dynamically load classes at runtime, my
program doesn't find the classes that I'm trying to dynamically load.
In the first case, if my classes are in a directory in the system
CLASSPATH, what code do I need in my program (which is inside a jar
file.) to dynamically load those classes specified at run time. In the
second case, if my classes are inside a jar file in a directory in the
system CLASSPATH, what code do I need this case. (Or must I hardwire
the classes paths into my program jar's manifest file.)Can someone
provide me with a sample? I'm very confused about this and I spent
several days and I can't get it to work.
I have my program in jar file and it work's. However, when I try to
add new functionality to dynamically load classes at runtime, my
program doesn't find the classes that I'm trying to dynamically load.
In the first case, if my classes are in a directory in the system
CLASSPATH, what code do I need in my program (which is inside a jar
file.) to dynamically load those classes specified at run time. In the
second case, if my classes are inside a jar file in a directory in the
system CLASSPATH, what code do I need this case. (Or must I hardwire
the classes paths into my program jar's manifest file.)Can someone
provide me with a sample? I'm very confused about this and I spent
several days and I can't get it to work.