This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes bat file to compile java files into another file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "bat file to compile java files into another file" Watch "bat file to compile java files into another file" New topic
Author

bat file to compile java files into another file

kenny koh
Greenhorn

Joined: Oct 11, 2011
Posts: 7
Hi,

I have 2 files(classes and src) and 2 bat files(compile and run) in a folder.

All my java files are in a folder called src and i would like my compile.bat file to compile all the files into the classes folder. Can someone show me how its done?

My run.bat is up and running already.

Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: bat file to compile java files into another file