Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to compile & run java files through batch file ???

Status
Not open for further replies.

rohithere

Programmer
Oct 27, 2003
51
IN
How to compile & run java files through batch file ???
 
I guess that you are talking of a DOS batch file...

Put the follwing lines in a file that has the extension '.bat' or '.cmd':

javac myApp.java
java myApp

That's all.... of course you will have to adjust/add your args for the call to javac/java like classpath etc.

cheers

frag

patrick.metz@epost.de
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top