The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

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:

Create a .bat file

Posted by Kishori Sharan on May 28, 2001 at 12:56 PM

You can create a .bat file and write the following lines of code. Then create an icon for that .bat file on your desktop.

//////////myrpogs.bat
java your_fully_qualilfied_class_name
///////////////////

You can also set classpath as:
java -classpath your_class_path your_fully_qualilfied_class_name





Replies:

Sponsored Links



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