Previous

Platform-Specific Details: Setting Environment Variables

The directory paths used below 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 JAVA_HOME /home/me/jdk1.1.7
setenv SWING_HOME /home/me/swing-1.1

Windows 95
Open your favorite text editor and add the following to your system's AUTOEXEC.BAT file:
set JAVA_HOME=C:\JDK1.1.7
set SWING_HOME=C:\swing-1.1
set CLASSPATH=.;%JAVA_HOME%\lib\classes.zip
set PATH=%PATH%;%JAVA_HOME%\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":
JAVA_HOME       C:\JDK1.1.7
SWING_HOME     C:\swing-1.1
CLASSPATH     .;%JAVA_HOME%\lib\classes.zip
PATH          %PATH%;%JAVA_HOME%\bin

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


Previous