Skip to content

Cannot use the runtime compiler with OpenJDK 25 #12188

@boris-petrov

Description

@boris-petrov

Describe the issue
Using GraalVM 25 with OpenJDK 25 downloaded from https://jdk.java.net/25/ leads to:

[engine] WARNING: The polyglot engine uses a fallback runtime that does not support runtime compilation to native code.
Execution without runtime compilation will negatively impact the guest application performance.
The following cause was found: The VM does not support the minimum JVMCI API version required by Graal: 25+36 < 25+37-jvmci-b01.
Currently used Java home directory is /usr/lib/jvm/jdk-25.
Currently used VM configuration is: OpenJDK 64-Bit Server VM
Download JDK 25 or later.

Steps to reproduce the issue
Just use GraalVM 25 on OpenJDK 25.

Describe GraalVM and your environment:

  • GraalVM version 25
  • JDK major version: 25
  • OS: Linux
  • Architecture: x86_64

More details
Workaround:

set environment variable JVMCI_VERSION_CHECK=ignore
and set the VM option -Dpolyglotimpl.DisableVersionChecks=true

Slack discussion.

cc @chumer

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions