Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
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
Ron McLeod
Jeanne Boyarsky
Paul Clapham
Sheriffs:
Liutauras Vilda
Henry Wong
Devaka Cooray
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Al Hobbs
Carey Brown
Bartenders:
Piet Souris
Mikalai Zaikin
Himai Minh
Forum:
Java in General
run java file using batch program?
sudip Kumar
Greenhorn
Posts: 14
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how to write a batch file for running a
java
application? I am using Websphere for Java
Mustafa Musaji
Ranch Hand
Posts: 52
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Just like if you were launching it using command line. You most probably need to include any libs your program uses and the main entry point for the program.
java -cp [libs] [package] [arguments]
SCJP 5.0 - Passed
Campbell Ritchie
Marshal
Posts: 76095
362
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You might do well to write javaw instead of java; then you don't get an unnecessary command-line window opening.
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
DOS command window
JFrame & Jar Files
run java code through bat file
java program that can run a .class file in msdos, is this possible?
run java using batch
More...