aspose file tools*
The moose likes Beginning Java and the fly likes java from the command line Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java from the command line" Watch "java from the command line" New topic
Author

java from the command line

sonia pandit
Ranch Hand

Joined: Apr 19, 2008
Posts: 137
How do i indicate multiple jar files in the classpath for running java from the command line:

Is this correct?




or are each of the paths separated my commas?
Thanks,

Sonia.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

or are each of the paths separated my commas?

No, they are separated by semi-colons. (On unix, by colons)


[My Blog]
All roads lead to JavaRanch
 
 
subject: java from the command line