Ad Widget

Collapse

Error compiling zabbix_java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • keyser2013
    Junior Member
    • May 2013
    • 1

    #1

    Error compiling zabbix_java

    Hi, we're trying Zabbix appliance 2.0.6, and we need to enable the Zabbix Java Gateway.

    When we try to compile by make, we have the following error:

    javac -d class/src -classpath lib/org-json-2010-12-28.jar:lib/logback-core-0.9.27.jar:lib/logback-classic-0.9.27.jar:lib/slf4j-api-1.6.1.jar src/com/zabbix/gateway/*.java
    src/com/zabbix/gateway/BinaryProtocolSpeaker.java:48: error: ZabbixException cannot be resolved to a type
    public String getRequest() throws IOException, ZabbixException
    ^^^^^^^^^^^^^^^

    What can be wrong?

    Best,

    JM
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    Same here, trying to compile 2.0.10.

    Have you found a solution?

    Comment

    • romale
      Member
      • Mar 2013
      • 53

      #3
      Originally posted by steveboyson
      Same here, trying to compile 2.0.10.

      Have you found a solution?
      you need delete gcc45-java and install oracle JDK (not JRE) rpm. Just rpm package will auto configure your environment with alternatives command

      Comment

      Working...