Restriction on length of CLASSPATH?

2012-06-13 Thread Jan MOEYERSONS
Esteemed listers,

It looks very much so that the length of the CLASSPATH environment variable as 
used for running a Java program from a shell script (invoked through BPXBATCH) 
is restricted to about 4K bytes. However, I can't seem to find any 
documentation that officially states this restriction. Would it be a 
restriction on the length of a shell variable, or would it be a restriction in 
the JVM?

Any pointers to some doc will be very much appreciated.

Thanks,

Jantje.

P.S. We are running Java 5 on z/OS 1.12

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Restriction on length of CLASSPATH?

2012-06-13 Thread Kirk Wolf
I do not believe this to be true.
Please post a test case.
It may be helpful to have your java program print the classpath, like:
http://dev-answers.blogspot.com/2006/06/how-do-you-print-java-classpath.html

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

On Wed, Jun 13, 2012 at 8:00 AM, Jan MOEYERSONS
jan.moeyers...@adelior.bewrote:

 Esteemed listers,

 It looks very much so that the length of the CLASSPATH environment
 variable as used for running a Java program from a shell script (invoked
 through BPXBATCH) is restricted to about 4K bytes. However, I can't seem to
 find any documentation that officially states this restriction. Would it be
 a restriction on the length of a shell variable, or would it be a
 restriction in the JVM?

 Any pointers to some doc will be very much appreciated.

 Thanks,

 Jantje.

 P.S. We are running Java 5 on z/OS 1.12

 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN