specifying mulitple jars on classpath

What is the most convenient way to specify multiple jar files on the classpath? If I have a lib directory with many jar files, it seems like I should be able to specify that directory on the classpath and all jars will be used. But, as I understand the documentaiton of the javac tool, you must specifiy jars specifically. So, this becomes tiresome when a lot of jars are involved. Does anyone have recommendations on how to specify a bunch of jars at once?

[464 byte] By [chadmichaela] at [2007-11-26 14:14:47]
# 1

If any of the JAR files are under your control,put a manifest into it which lists the other JARs in its class-path entry and cite this JAR as your classpath.

Otherwise, create a meta-JAR with a manifest which names all the other JARs in its class-[ath entry, and cite the meta-JAR as the classpath.

ejpa at 2007-7-8 2:04:21 > top of Java-index,Developer Tools,Java Compiler...
# 2
JDK 6 has class path wildcards, see: http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html
PeterAhea at 2007-7-8 2:04:21 > top of Java-index,Developer Tools,Java Compiler...
# 3
[url= http://mindprod.com/jgloss/classpath.html#EXT]java ext dirs[/url]
tschodta at 2007-7-8 2:04:21 > top of Java-index,Developer Tools,Java Compiler...