The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

simply make a batch file

Posted by swapnil on November 25, 2000 at 4:19 AM

d/arun,
hello,
To convert a.java(say) to executable file convert that file into a batch file a.bat
.........................
1. compile and test ur java file whether it is working fine.
2. create a batch file as follows.
3. write java a.java in the notepad.
4. save this file as a.bat
now doubleclick this file and u shall see ur java file running.
This is a coarse way of creating an executable file.
.......................................................
above solution should satisfy u depending ur need to implement and the environment in which u r working.
regards,
swapnil





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us