Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.
/ labs-openjdk-17 Public archive

Based on JDK 17 with included support for libgraal and GraalVM CE.

License

Notifications You must be signed in to change notification settings

graalvm/labs-openjdk-17

Repository files navigation

Welcome to LabsJDK CE 17!

The latest release is available at https://github.com/graalvm/labs-openjdk-17/releases/latest

This is a fork of https://github.com/openjdk/jdk17u that exists for the purpose of building a base JDK upon which GraalVM CE 17 is built.

A labsjdk binary can be built as follows:

# Find latest jvmci-* tag in current branch.
JVMCI_VERSION=$(git log --decorate | grep -E 'tag: jvmci-\d+\.\d+-b\d+' | sed 's/.*(\(tag: .*\))/\1/g' | tr ',' '\n' | grep 'tag:' | sed 's/.*tag: \(jvmci-[^,)]*\).*/\1/g' | sort -nr | head -1)

# Configure and build
sh configure --with-conf-name=labsjdk \
    --with-version-opt=$JVMCI_VERSION \
    --with-version-pre= \
    '--with-vendor-name=GraalVM Community' \
    --with-vendor-url=https://www.graalvm.org/ \
    --with-vendor-bug-url=https://github.com/oracle/graal/issues \
    --with-vendor-vm-bug-url=https://github.com/oracle/graal/issues
make CONF_NAME=labsjdk graal-builder-image

This will produce a labsjdk binary under build/labsjdk/images/graal-builder-jdk.

You can verify the labsjdk built successfully by checking the version reported by the java launcher:

./build/labsjdk/images/graal-builder-jdk/bin/java --version

The upstream JDK README is here.