Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
java from the command line
sonia pandit
Ranch Hand
Posts: 137
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do i indicate multiple jar files in the classpath for running
java
from the command line:
Is this correct?
java -cp c:/test/something.jar;c:/test/something2.jar;c:/test/something3.jar;. mypackage.BusinessPlan -xls
or are each of the paths separated my commas?
Thanks,
Sonia.
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to choose java version at run time
how to pass the arguments to the main class ...
to Mikalai Zaikin..
Running the jar command from a Java file
Problem when creating / running a jar file
More...