[jdom-interest] Probably a Stupid Question but...

Patrick Dowler Patrick.Dowler at nrc.ca
Fri Oct 6 11:16:19 PDT 2000


On Fri, 06 Oct 2000, you wrote:
> D:\DDD>java -classpath jdom.jar;xerces.jar;. JobTicTrack  <-- Works
> 
> D:\DDD>java -classpath jdom.jar;xerces.jar;. -jar JobTicTrack.jar  <-- Fails

You can't use -classpath and -jar at the same time (yeah, lame). Instead,
you need:

java -classpath jdom.jar;xerces.jar;JobTicTrack.jar <class with main>

--

Patrick Dowler
Canadian Astronomy Data Centre




More information about the jdom-interest mailing list