Jan 13, 2004 #1 rohithere Programmer Joined Oct 27, 2003 Messages 51 Location IN How to compile & run java files through batch file ???
Jan 14, 2004 #2 frag Programmer Joined Dec 7, 2000 Messages 321 Location GB 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 Upvote 0 Downvote
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
Jan 14, 2004 #3 Diancecht Programmer Joined Jan 8, 2004 Messages 4,042 Location ES There's a FAQ for this http://www.tek-tips.com/faqs.cfm?spid=269&sfid=98 As some forum freaks should state, RTFM Upvote 0 Downvote
There's a FAQ for this http://www.tek-tips.com/faqs.cfm?spid=269&sfid=98 As some forum freaks should state, RTFM