PATH and CLASSPATH
The CLASSPATH environment
variable tells the Java virtual machine where to find the class libraries,
such as the jdmkrt.jar file.
The PATH environment variable
specifies the location of executable files, for example, the proxygen tool and the mibgen compiler.
The tools provided in the Java Dynamic Management Kit and the programs that you compile and run rely on the values in these variables. Modify these environment variables according to your Java version, as shown in Table 2-2.
Table 2-2 Environment Variables for the Windows NT Environment|
Environment Variable |
Add |
|---|---|
|
|
installDir\SUNWjdmk\jdmk4.0\1.1\lib\jdmkrt.jar;installDir\SUNWjdmk\jdmk4.0\1.1\lib\jdmktk.jar;installDir\SUNWjdmk\jdmk4.0\1.1\lib\collections.jar |
|
or |
installDir\SUNWjdmk\jdmk4.0\1.2\lib\jdmkrt.jar;installDir\SUNWjdmk\jdmk4.0\1.2\lib\jdmktk.jar |
|
|
installDir\SUNWjdmk\jdmk4.0\1.1\bin |
|
or |
installDir\SUNWjdmk\jdmk4.0\1.2\bin |