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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.9
    • Component/s: None
    • None
    • Environment:
      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.

       

       

            Assignee:
            Zabbix Development Team
            Reporter:
            Stefan König
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: