Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create a batch file of java application?.  RSS feed

 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I want to run my java application through batch file?.Any ideas how to do this?.



Regards,
Nik
 
Petrus Pelser
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55329
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A similar question came up yesterday; look here, and see whether that helps.
 
Nik Arora
Ranch Hand
Posts: 652
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys for the help.



Regards,
Nik
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!