SNMP4J - The Object Oriented SNMP API for Java Managers and Agents
SNMP4J is an enterprise class free open source and state-of-the-art SNMP implementation for Java SE 1.4 or later*. SNMP4J supports command generation (managers) as well as command responding (agents). Its clean object oriented design is inspired by SNMP++, which is a well-known SNMPv1/v2c/v3 API for C++ (see https://agentpp.com).
* SNMP4J 2.3.0, SNMP4J-Agent 2.2.0, SNMP4J-AgentX 2.2.0, and SNMP4J-AgentJMX 2.1 or later require Java 7 compiler but only Java 6 SE or later runtime. SNMP4J-SMI and SNMP4J-SMI-PRO require Java 7 or later compiler and runtime.