| Author |
Command for running a java file
|
AKEEL MALIK
Greenhorn
Joined: Feb 03, 2005
Posts: 26
|
|
How do I run a java file from the command prompt. I compile the file by entering javac filename.java.
|
 |
Maureen Charlton
Ranch Hand
Joined: Oct 04, 2004
Posts: 218
|
|
To compile a file at the command prompt type: javac Example.java to run the file at the command prompt type: java Example Be aware that it is case sensitive i.e. example is not the same as Example.
|
 |
 |
|
|
subject: Command for running a java file
|
|
|