Re: How to check if all *.jars in my CLASSPATH really exists? Automatic check (not manual) possible?
by Lion-O <nosp@[EMAIL PROTECTED]
>
Apr 26, 2008 at 10:31 AM
> Assume I have a long, long CLASSPATH containing approx 20 (or more)
*.jar
> archives. Is there a way to AUTOMATICALLY check if all mentioned *.jar
files
> really exist?
I doubt it. This is because Java doesn't really care about the jarfiles
themselves, only the cl***** which they contain. It will only try opening
them
whenever it needs to access a certain class.
So I think that the only way to be sure is manually listing the classpath,
then
grabbing all file entries and finally start checking up if those exist.
Groetjes, Peter
--
..\\ PGP/GPG key: http://www.catslair.org/pubkey.asc