File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes classpath length Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "classpath length" Watch "classpath length" New topic
Author

classpath length

Sharnag Thorat
Greenhorn

Joined: Nov 22, 2000
Posts: 2
is there any limitation on classpath length while
setting the classpath
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

I have ran into problems a while back where the classpath was too long. Unfortunately, I do not remember exactly how long it was. Maybe someone else knows??? I can tell you what I did to shorten it on Windows. You can shorten each directory name with the first 6 characters followed by ~1 For example: C:\MyDirectory\MyTextFile.txt becomes C:\MyDire~1\MyText~1.txt This only shortened it by 5 characters, but for a long classpath, it can make a big difference. I do not know if there is something like this on Unix. Hope this helps!
Barry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath length
 
Similar Threads
Returning lenght of a string
out of enviornment space?
Compiling, but not running !!!
how to use ClassLoader ???
Web Application Architecture