Previous


Platform-Specific Details: Setting Environment Variables

The directory paths used in this section assume that you have installed both the JDK and Swing releases under /home/me (for Solaris) or on drive C (for Windows). You should adjust the directory paths to reflect your installation.

Solaris
Set the environment variables with commands like the following:
% setenv JDKHOME /home/me/jdk1.1.3
% setenv SWINGHOME /home/me/swing-0.3

Windows 95
Open your favorite text editor and add the following to your system's AUTOEXEC.BAT file:
CLASSPATH     %JDKHOME%\LIB\classes.zip
JDKHOME       C:\JDK1.1.3
Path          %Path%;%JDKHOME%\bin
SWINGHOME     C:\swing-0.3		

Windows NT
Double-click the System icon inside the Control Panel. When the System Properties dialog box opens, place the following in the lower list box, which is labeled "User Variables":
CLASSPATH     %JDKHOME%\LIB\classes.zip
JDKHOME       C:\JDK1.1.3
Path          %Path%;%JDKHOME%\bin
SWINGHOME     C:\swing-0.3		
Note: Be careful not to change your system environment variables, which appear in the upper list box.


Previous