|
Hi Pete,
After trying every trick in the book, including shortening directory
names and jars, we finally settled on using QSH:
1. We created an additional directory under our main directory (
<RootDirectoryname> ), which we called lib
2. We created a shell script called runxxx.sh like this:
CLASSPATH=<RootDirectoryName>
for file in
<RootDirectoryName>/lib/*.jar
do
CLASSPATH=$CLASSPATH:$file;
done;
echo
$CLASSPATH;
java -cp $CLASSPATH -Djava.version=1.5 com.mycompany.myproject.MainClass
We then changed out the RUNJVA command for a QSH command. to run this
shell script instead.
Narayanan Pillai
Pete Helgren wrote:
Any idea of how to set a classpath in CL greater than a 1024
characters? I tried ADDENVVAR but it is limited to 1024 characters. I
thought I had seen a post in the past but a search of the archives
didn't turn up a solution.
Don't ask why the classpath is so long...sigh...
Pete
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.