A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Using "-classpath" in javac
Joined: Oct 18, 2002
Jun 12, 2007 04:51:00
If I have many jar files used to compile my
application, can I use wildcard (the example is shown below) in order to eliminating the full paths for each jar files that make the command clumsy?
javac -classpath $THIRDPARTY_HOME/lib/*jar abc.java
Joined: Aug 05, 2005
Jun 12, 2007 04:58:00
What happened when you tried it ?
Joined: Dec 19, 2005
Jun 12, 2007 23:08:00
Take a look at this link for JSE6:
It details the use of wildcards in the java commandline tools that accept the classpath parameter.
It is sorta covered in the
JavaRanch Style Guide
subject: Using "-classpath" in javac
Can't find .class file
Path setting problem in java task
Taglib file outside WEB-INF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014