Jan 13, 2004 #1 rohithere Programmer Oct 27, 2003 51 IN How to compile & run java files through batch file ???
Jan 14, 2004 #2 frag Programmer Dec 7, 2000 321 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 Jan 8, 2004 4,042 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