Compiling Java (2)
javac is the Java compiler
> javac Hello.java
java is the Java run-time
> java tutorial.tcltk98.Hello
Hello, world!
Note: This tutorial has been tested with version 1.1.6 of the Sun JDK:
> java -version
Previous slide
Next slide
Back to first slide
View graphic version