K
Krishnan Raghu
I have a few .jar files in C:\j2sdk1.4.2_03\jre\lib\endorsed that are
required for an application that I'm coding. I currently run the application
as follows:
$> java AppRun
Java adamantly requires the .jar files to only be in the endorsed\ directory
for this to work.. But I would like my application to run with the .jar
files being in the same directory as the application *without* having them
in j2sdk/jre/lib/endorsed:
$> java -classpath . AppRun
(For instance, if AppRun.java and AppRun.class are in C:\work, I want to be
able to move all the required .jar files currently in endorsed\ to inside
C:\work and still get the application to run).
Any suggestions?
Thanks!
Krishnan
required for an application that I'm coding. I currently run the application
as follows:
$> java AppRun
Java adamantly requires the .jar files to only be in the endorsed\ directory
for this to work.. But I would like my application to run with the .jar
files being in the same directory as the application *without* having them
in j2sdk/jre/lib/endorsed:
$> java -classpath . AppRun
(For instance, if AppRun.java and AppRun.class are in C:\work, I want to be
able to move all the required .jar files currently in endorsed\ to inside
C:\work and still get the application to run).
Any suggestions?
Thanks!
Krishnan