permaculture playing cards*
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: 14687
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java from the command line
 
Similar Threads
how to pass the arguments to the main class ...
How to choose java version at run time
Running the jar command from a Java file
to Mikalai Zaikin..
Problem when creating / running a jar file