Previous


Platform-Specific Details: Running a Java Application

UNIX
% java CountFile testing
testing has 70 chars.
DOS shell (Windows 95/NT)
C:\> java CountFile testing
testing has 71 chars.
MacOS
Double click the CountFile.class file or drop it on the Java Runner application. The program displays a window prompting you for command-line arguments. Type in the name of the file, testing, and click the OK button. The program displays the results in a window.
testing has 70 chars.
Note that testing must be in the same folder as Java Runner.


Previous