previous
|
start
|
next
Using the SDK
Create a new directory to hold your files
Use a text editor to prepare files (Greeter.java, GreeterTest.java)
Open a shell window
cd
to directory that holds your files
Compile and run
javac GreeterTest.java
java GreeterTest
Note that Greeter.java is automatically compiled.
Output is shown in shell window
Note:
You must have the java binaries in your $PATH
environment variable. Instructions for
Windows (XP/2000)
and for
Unix
.
previous
|
start
|
next