Temurin-build: Images are out of date

Created on 15 May 2018  ·  6Comments  ·  Source: adoptium/temurin-build

I build my .war file on Debian testing:

~ # java -version 
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

then copy generated .war file to adoptopenjdk/openjdk10:alpine or adoptopenjdk/openjdk10 and use generated docker image to start my service.

Application doesn't start:

Exception in thread "main" java.lang.UnsupportedClassVersionError: has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 53.0

Do you have any image that supports class file version 54 or should I build own image and update java?

Reported to OpenJDK / JBS bug

All 6 comments

Hi @agilob - Is this an image you got from DockerHub?

Note to self - this is likely an issue for the openjdk-docker repo

Is this an image you got from DockerHub?

yes.

Actually I'll leave open so @agilob can be notified when we resolve this.

I subscribed to the other issue :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joeyleeeeeee97 picture joeyleeeeeee97  ·  5Comments

gdams picture gdams  ·  4Comments

PierreZ picture PierreZ  ·  5Comments

joeyleeeeeee97 picture joeyleeeeeee97  ·  7Comments

adam-thorpe picture adam-thorpe  ·  7Comments