Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25961

Java Gateay has been compiled by a more recent version of the Java Runtime

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.9
    • None
    • None
    • rhel8

      Package of zabbix-java-gateway v7.0.9 is defective.

      For rhel8 it uses java-1.8.0-openjdk-headless as dependency but refuses to start using that java version:
      Exception in thread "main" java.lang.UnsupportedClassVersionError: ch/qos/logback/classic/spi/LogbackServiceProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

      I installed java 21 and set alternatives to the new version, then the java gateway starts. Removal of java 1.8.0 is not possible since it is set as a dependency.

       

       

            zabbix.dev Zabbix Development Team
            muelli Stefan König
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: