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.4/bin/javac -classpath .:/home/me/swing-0.5.1/swing.jar:/home/me/jdk1.1.4/lib/classes.zip SomeClass.java

DOS shell (Windows 95/NT)



Previous