Previous


Platform-Specific Details: Compiling a Swing Program

Solaris
If you've set the JDKHOME and SWINGHOME environment variables:
$JDKHOME/bin/javac -classpath .:$SWINGHOME/swing.jar:$JDKHOME/lib/classes.zip SomeClass.java
Which might result in something like this:
/home/me/jdk1.1.3/bin/javac -classpath .:/home/me/swing-0.3/swing.jar:/home/me/jdk1.1.3/lib/classes.zip SomeClass.java

DOS shell (Windows 95/NT)



Previous