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
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Beginning Java
java from the command line
sonia pandit
Ranch Hand
Posts: 137
posted 15 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 15 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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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...