Compile and run the samples provided.
The command to compile Triangle.java would look something like:
C:\j2sdk1.4.0\bin\javac -classpath .\;..\javalogo.jar Triangle.java
The command to run Triangle would look something like:
C:\j2sdk1.4.0\bin\java -cp .\;..\javalogo.jar Triangle
The above examples assume you are in the sample directory.
previous - next