Closed FireMasterK closed 1 year ago
You don't need to build from scratch, there are nightly builds https://openj9-jenkins.osuosl.org/job/Pipeline-Build-Test-JDK19/
Using the latest nightly, I tried bin/jlink --output base --add-modules java.base
and then running base/bin/java -version
starts up fine.
openjdk version "19.0.2-internal" 2023-01-17
OpenJDK Runtime Environment (build 19.0.2-internal-adhoc.jenkins.BuildJDK19x86-64linuxNightly)
Eclipse OpenJ9 VM (build master-fe0bec4e63a, JRE 19 Linux amd64-64-Bit Compressed References 20230310_198 (JIT enabled, AOT enabled)
OpenJ9 - fe0bec4e63a
OMR - c7687f45fb4
JCL - faa8bad83ac based on jdk-19.0.2+7)
Java -version output
openjdk version "19.0.2-internal" 2023-01-17 OpenJDK Runtime Environment (build 19.0.2-internal-adhoc..openj9-openjdk-jdk) Eclipse OpenJ9 VM (build master-b9c0de5dc, JRE 19 Linux amd64-64-Bit Compressed References 20230309_000000 (JIT enabled, AOT enabled) OpenJ9 - b9c0de5dc OMR - 9c27dc211 JCL - 9d52294be based on jdk-19.0.2+7)
Summary of problem
I've compiled OpenJ9 from source, since there aren't any pre-built builds for Java 19.
When I create a JRE with JLink, it crashes on startup.
I'm doing this on a Docker image.
Diagnostic files