 |
Installation
|
Hardware Requirements
These JavaBeans are designed to be compliant with
100% Pure Java requirements, and will therefore execute on any hardware
platform that supports the Java Environment.
Approximately 150 KB of disk space is required to install the SNMP
Bean Jar files. Additional hard disk space would be required to install
the Java Development Kit, Bean Development Kit or any Java Application
Builder Tool which may be used to build / compile applications using these
beans.
Software
Requirements
The SNMP Beans are designed to work with Java
Development Kit Version 1.1 and above.
These beans may be linked to each other and tested
in the BeanBox testing tool from JavaSoft. Any Java Application Builder
(E.g. VisualAge for
Java from IBM Corp, VisualCafé
from Symantec Corp.,
Java Workshop from
SunSoft) with JavaBeans support may be
used to develop applications using these beans.
Installation
Instructions
- After downloading snmp.zip, unzip
it. It will automatically create a new directory called snmp and
extracts files into it.
- To use the components in the BeanBox, copy (using
the relevant copy command on the operating system) the jar file for the
required component (available in the lib directory) to the
BeanBox's jars directory.
- To use the component in any of the IDEs, import
the corresponding .jar file.
Note : Please refer to the User's Guide of your IDE on how to
import a bean into the IDE.
- To run the demo application provided with this
package, follow the steps given below .
- Set the CLASSPATH environment variable
according to the instructions, given below under the heading Setting
the CLASSPATH.
- Follow the instructions in the README
file in the demo directory.
Setting the CLASSPATH
After installing the software, update the CLASSPATH
environment variable as follows.
For Windows NT :
- Start the Control Panel, select System,
then edit the CLASSPATH environment variable.
- Set the CLASSPATH to point to
c:\snmp\lib\SNMPUI.jar; c:\snmp\lib\SNMPProtocol.jar (assuming
that the snmp directory is in c:\)
For Windows 95 :
- Open the AUTOEXEC.BAT file and
make the change to the CLASSPATH statement. (Be sure to make a backup of
the AUTOEXEC.BAT before making any changes).
- Set the CLASSPATH to point to
snmp\lib\SNMPUI.jar;snmp\lib\SNMPProtocol.jar
For example if snmp is installed under
C:\, then add the following line to the end of the AUTOEXEC.BAT
file :
CLASSPATH =
C:\snmp\lib\SNMPUI.jar;C:\snmp\lib\SNMPProtocol.jar;%CLASSPATH%
- Reboot the machine for the changes to take
effect.
AIX CLASSPATH
- Open the .profile file and change
to the CLASSPATH statement as follows. (Be sure to make a backup of the
.profile before making any changes.)
- Set the CLASSPATH to point to
snmp/lib/SNMPUI.jar:snmp/lib/SNMPProtocol.jar
For example if snmp is installed under
your home directory, then add the following line to the .profile
file.
export CLASSPATH = snmp/lib/SNMPUI.jar:
snmp/lib/SNMPProtocol.jar:$CLASSPATH
- Type . .profile on the command
line for the changes to take effect.
OS/2 CLASSPATH
- Open the CONFIG.SYS file and
change the CLASSPATH statement as follows. (Be sure to make a backup of
your CONFIG.SYS before making any changes.)
- Set the CLASSPATH to point to
snmp\lib\SNMPUI.jar;snmp\lib\SNMPProtocol.jar
For example if snmp is installed under
C:\, then add the following lines to the CLASSPATH environment
variable of the CONFIG.SYS file.
CLASSPATH = C:\snmp\lib\SNMPProtocol.jar;
C:\snmp\lib\SNMPUI.jar; %CLASSPATH%
- Reboot the machine for the changes to take
effect.