Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
run java file using batch program?
Joined: Apr 21, 2008
Jan 08, 2009 02:33:29
how to write a batch file for running a
application? I am using Websphere for Java
Joined: May 03, 2008
Jan 08, 2009 02:48:44
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
Joined: Oct 13, 2005
Jan 08, 2009 03:15:03
You might do well to write javaw instead of java; then you don't get an unnecessary command-line window opening.
It is sorta covered in the
JavaRanch Style Guide
subject: run java file using batch program?
java program that can run a .class file in msdos, is this possible?
run java using batch
DOS command window
run java code through bat file
JFrame & Jar Files
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013