|
|
Running the program When testing, the simplest way to run the application is usually to start it from the command line. For example, if the main() method were defined in the class MyProgram , then after compiling the MyProgram.java source file: Using Kawa, you would select run or from a command line of DOS you could enter the command : java MyProgram Do not enter java MyProgram.java . You want to execute a class (object file), not a source file. Back to top 
RITSEC - Global Campus Copyright ?1999 RITSEC- Middlesex University. All rights reserved. webmaster@globalcampus.com.eg |
|