Re: How to check if all *.jars in my CLASSPATH really exists? Automatic check (not manual) possible?
- From: Lion-O <nosp@xxxxxxxxxxxxxx>
- Date: Sat, 26 Apr 2008 10:31:50 -0500
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 classes 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
.
- Prev by Date: Re: How to include *.class file with package in CLASSPATH?
- Next by Date: Re: How to include *.class file with package in CLASSPATH?
- Previous by thread: Re: How to include *.class file with package in CLASSPATH?
- Next by thread: how to return Comparator values
- Index(es):
Relevant Pages
|