![]() |
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.5 % setenv SWINGHOME /home/me/swing-1.0
- Windows 95
- Open your favorite text editor and add the following to your system's
AUTOEXEC.BAT
file:set JDKHOME=C:\JDK1.1.5 set SWINGHOME=C:\swing-1.0 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":
Note: Be careful not to change your system environment variables, which appear in the upper list box.JDKHOME C:\JDK1.1.5 SWINGHOME C:\swing-1.0 CLASSPATH .;%JDKHOME%\lib\classes.zip PATH %PATH%;%JDKHOME%\bin
![]() |