File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to create a batch file of java application?. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to create a batch file of java application?." Watch "How to create a batch file of java application?." New topic
Author

How to create a batch file of java application?.

Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Hi All,
I want to run my java application through batch file?.Any ideas how to do this?.



Regards,
Nik
Petrus Pelser
Ranch Hand

Joined: Feb 20, 2006
Posts: 132
Create a new file called 'run.bat' or anything you want, but must be .bat

Edit the file and type the command to execute your application (java MyApp).
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38509
    
  23
A similar question came up yesterday; look here, and see whether that helps.
Nik Arora
Ranch Hand

Joined: Apr 26, 2007
Posts: 652
Thanks guys for the help.



Regards,
Nik
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a batch file of java application?.