On Mon, 15 Feb 1999, Ken A Redergard wrote:

> I have a large amount of .jar files in the library directory, and that
> leads to a very large CLASSPATH variable. 
> 
> The seems that java (java version "1.1.7") won't accept the
> classpath when it reaches a certain amount of characters. I currently have
> 331 characters in the path, and when I run a .class file java reports that
> the class can't be found. If I set the classpath to a much smaller amount
> of characters the program runs...
> 
> Any suggestions on how to solve this problem (except from decompressing
> all the .jar files in the library directory) ?
> 
> With regards,
> Ken A. Redergård
> http://www.colargol.tihlde.hist.no/~kenr
> 

You could try to use the -classpath argument to java. That should not
be constrained by the max size for env vars. You would need a startup
script otherwise you would have to type them all in every time you
ran the java (yuk!).

mo dejong
dejong at cs.umn.edu

Reply via email to