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.4
% setenv SWINGHOME /home/me/swing-0.5.1

Windows 95
Open your favorite text editor and add the following to your system's AUTOEXEC.BAT file:
set JDKHOME = C:\JDK1.1.4
set SWINGHOME = C:\swing-0.5.1
set CLASSPATH = .;%JDKHOME%\lib\classes.zip
set PATH = %PATH%;%JDKHOME%\bin

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":
JDKHOME       C:\JDK1.1.4
SWINGHOME     C:\swing-0.5.1
CLASSPATH     .;%JDKHOME%\lib\classes.zip
PATH          %PATH%;%JDKHOME%\bin

Note: Be careful not to change your system environment variables, which appear in the upper list box.


Previous