Skip to content

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

License

Notifications You must be signed in to change notification settings

sstanoje/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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 76.9%
  • C++ 13.2%
  • C 5.8%
  • Assembly 2.4%
  • Objective-C 0.4%
  • HTML 0.3%
  • Other 1.0%