TOC

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.


tocSoftware 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.


tocInstallation Instructions

  1. After downloading snmp.zip, unzip it. It will automatically create a new directory called snmp and extracts files into it.
  2. 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.
  3. 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.
  4. To run the demo application provided with this package, follow the steps given below .

Setting the CLASSPATH

After installing the software, update the CLASSPATH environment variable as follows.

For Windows NT :

  1. Start the Control Panel, select System, then edit the CLASSPATH environment variable.
  2. 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 :

  1. 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).
  2. 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%
     

  3. Reboot the machine for the changes to take effect.

AIX CLASSPATH

  1. 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.)
  2. 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
     

  3. Type . .profile on the command line for the changes to take effect.

OS/2 CLASSPATH

  1. 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.)
  2. 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%

  3. Reboot the machine for the changes to take effect.