UNCLASSIFIED - NO CUI

Skip to content

Bug: akhq 0.25.0+ requres java 17

Summary

Running ironbank/opensource/tchiotludo/akhq:0.25.1 we see a Java linkage error, complaining about the Java Runtime version in the container image. The container promply exits with error instead of serving the akhq application.

Steps to reproduce

docker run --rm registry1.dso.mil/ironbank/opensource/tchiotludo/akhq:0.25.1

What is the expected correct behavior?

container runs without issue

Relevant logs and/or screenshots

Error: LinkageError occurred while loading main class org.akhq.App java.lang.UnsupportedClassVersionError: org/akhq/App has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file

Possible fixes

Class file version 61 corresponds to Java 17. Looking at the Dockerfile, the base image is ironbank/redhat/openjdk/openjdk11:1.11. This should be updated to a java 17 base image.

The source app reference dockerfile also uses a java 17 base image: https://github.com/tchiotludo/akhq/blob/dev/Dockerfile

Tasks

  • Bug has been identified and corrected within the container

Please read the Iron Bank Documentation for more info

Edited by Josh Kline
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information