| Elements of the Java Platform | CS 161 - Java |
javac MyName.java
This converts your human readable Java source code to Java
interpreter readable bytecode.
This starts the interpreter and tells it to look for a
file MyName.class
For example, by typing
ClassWithName must be identical to filename and is
case sensitive. For example:
java ClassWithMain
C:\ java MyName "Your name here"
jwd