The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 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:

Running my programs

Posted by Matt Gerrans on September 18, 2001 at 3:27 PM

> I have written a few simple programs now, and I need to know how to run them, like what to write for the command line.

You likely compiled your code with something like this:
javac mystuff.java
So now you run it like so:
java mystuff

- Matt Gerrans



Replies:
  • Thanks! Chloe September 19, 2001 at 6:51 AM (0)

Sponsored Links



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