Meaningless Drivel is fun!
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: java from the command line
 
It's not a secret anymore!