C
Chris
My java app needs to put a directory of jar files on the classpath. It's
a pain to specify every jar file explicitly on the command line, because
the files are going to change from time to time.
I've seen a variety of ways to automatically include all the jar files
in a directory using batch files and shell scripts. The trouble is that
these scripts look like real hacks, and people are really doing
backflips to do what should be very simple.
Do more recent versions of java have a command line option to do what
I'm looking for? Something like "java -mylibdir=/mylib"? I don't see it,
but sometimes these things are easy to miss.
a pain to specify every jar file explicitly on the command line, because
the files are going to change from time to time.
I've seen a variety of ways to automatically include all the jar files
in a directory using batch files and shell scripts. The trouble is that
these scripts look like real hacks, and people are really doing
backflips to do what should be very simple.
Do more recent versions of java have a command line option to do what
I'm looking for? Something like "java -mylibdir=/mylib"? I don't see it,
but sometimes these things are easy to miss.