[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: two jars in java



On 2002.10.08 22:42 u2q2w wrote:
Hello,
Could you please tell me how to compile my.java with two jars? What is
the
command line? Say, "javac -classpath a1.jar;a2.jar my.java", is it
correct in
windows? What is it in linux?

Use the standard path separator character: /:/

javac -classpath a1.jar:a2.jar

--
Darryl L. Pierce <mcpierce@telocity.com>
Visit the Infobahn Offramp - <http://welcome.to/mcpierce>
"What do you care what other people think, Mr. Feynman?"



Reply to: