Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wildcard in classpath.

Status
Not open for further replies.

umeshs79

Programmer
Aug 7, 2002
42
0
0
DE
Hi,
I have lots of jar and zip files in a particulay folder. Is there any possible way by which I can specify all jar and zip files in classpath using some wildcard.

For example:
Set CLASSPATH=lib\*.jar;lib\*.zip;libdepend\*.jar;libdepend\*.zip

But above does not work. Is there any solution to specify the classpath using wildcards.

Please reply.

Thanks

Umesh Sharma,MCSD
India
 
I put any Jar files that I use in one folder on my C:\. I never need to add anything to the class path. it just has C:\Jarfiles
 
Umesh,
I don't think there is any way you can specify that.


Ganesh
If you find my post really helpful, please record it by clicking the purple star below.
 
The JRE picks up any jars automatically placed in %JAVA_HOME%\jre\lib\ext
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top