Closed knocknarea closed 2 years ago
@axelfontaine Any update on this?
Yes! Please pin the openjdk component to Java 8 for any projects you don't want upgraded. We'll release JRE 9 until 17 packages a few days after JDK 17 is released!
@axelfontaine Apologies, I don't understand what the above means? Do you have documentation on this?
@knocknarea No worries. You simply have to add components.openjdk=8.162.12
to your config when fusing an image. This can be done either in the config file or as part of the CLI args (ex.: boxfuse run my-app-1.0.jar -components.openjdk=8.162.12
).
@axelfontaine, really looking forward to this support, do you have a more precise release date for this now that Java 17 has been released ?
openjdk
version 11.0.11
is now available.
Shortly after Adoptium (previously known as AdoptOpenJDK) have their first OpenJDK 17 JRE build up, we'll be publishing that to the Boxfuse Inventory as well.
Leaving this issue open until this is done.
Thanks, will test jdk 11 right away !
Just tested and it does not work for me :
13:26:50.907 ERROR: i-05ef6efc905d84add => 2021-09-21 17:26:05.989 Exception in thread "main" java.lang.UnsupportedClassVersionError: ..... 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 tried setting components.openjdk=11.0.11 in boxfuse.conf or not setting anything but i got the same result every time.
Is there a doc somewhere ?
We have now also published the OpenJDK 17.0.0 JRE based on the java.se modules of the Eclipse Temurin OpenJDK 17 distribution. This is available when using the latest Boxfuse client (1.33.7.1511).
The default OpenJDK version has now also been bumped to 11.0.11 with the latest Boxfuse client.
@axelfontaine Any idea when these versions will be in the inventory?