-2

As a first step, I tried to run a java project in my machine using net beans 7.2, (the instaled JDK version is 5.5). But I am getting some errors.

 D:\InterfaceSnmpMaster.java:17:     package org.snmp4j.smi does not exist

If I am right, I think I need to install something extra to get that package. Please help me....

Abubakkar
  • 15,488
  • 8
  • 55
  • 83
Aneesh Narayanan
  • 3,220
  • 11
  • 31
  • 48

1 Answers1

1

It seems you're trying to use SNMP4J. Download the .jar from their site, and add it to the classpath as explained in How to setup classpath in Netbeans?

- Right-click your Project.
- Select Properties.
- On the left-hand side click Libraries.
- Under Compile tab - click Add Jar/Folder button.
Or
- Expand you Project.
- Right-click Libraries.
- Select Add Jar/Folder.
Community
  • 1
  • 1
Xavi López
  • 27,550
  • 11
  • 97
  • 161