Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
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.8 setenv SWING_HOME /home/me/swing-1.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.8 set SWING_HOME=C:\swing-1.1.1 set CLASSPATH=.;%JAVA_HOME%\lib\classes.zip;%SWING_HOME%\swing.jar set PATH=%PATH%;%JAVA_HOME%\bin
- Windows NT
- Double-click the System icon inside the Control Panel. When the System Properties dialog box opens, choose the Environment tab and then 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.JAVA_HOME C:\JDK1.1.8 SWING_HOME C:\swing-1.1.1 CLASSPATH .;%JAVA_HOME%\lib\classes.zip;%SWING_HOME%\swing.jar PATH %PATH%;%JAVA_HOME%\bin
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |