Return to Lesson

Platform-Specific Details: Compiling a Java Source File Using the JDK

UNIX:
    javac HelloWorld.java
DOS shell (Windows 95/NT):
    javac HelloWorld.java
MacOS:
Drag the HelloWorld.java file icon onto the Java Compiler icon.

Return to Lesson