This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
But... a jar file is a container for Java classes and perhaps other resources. It's structured like a zip file internally. Whereas a .bat file is a text file containing a script of commands which are meant to be executed sequentially.
So I have no idea what you mean by converting a jar file to a bat file. It's like asking to convert a train timetable to a bicycle. But perhaps you could explain what you want, and perhaps give an example.
Joined: Aug 16, 2011
Thans for your reply. Wat i mean is, jar files can be executed through command line rite, those content should be in a text file which is saved as ".bat" and execute.
Am having a problem that my jar will work if it contains third paty api as "mail.jar", "jsch.jar". i want to set class path for those in text file and execute.
i dint mean to convert train to bicycle, want to ride train like bicycle.