Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyglot version compatibility check failed on GraalVM for JDK 22 Community 22.0.0 #810

Closed
denis-komarov opened this issue Mar 20, 2024 · 0 comments

Comments

@denis-komarov
Copy link

denis-komarov commented Mar 20, 2024

Caused by: java.lang.IllegalStateException: Polyglot version compatibility check failed.
Your Java runtime '22+36-jvmci-b02' with compiler version '24.0.0' is incompatible with polyglot version '23.1.2'.
Update the org.graalvm.polyglot versions to at least '24.0.0' to resolve this.
Alternatively, it is possible to switch to the fallback runtime with -Dtruffle.UseFallbackRuntime=true.
The fallback runtime is compatible to any Java 17 capable JDK.
Execution with the fallback runtime does not support runtime compilation and therefore will negatively impact the guest application performance.
For more information see: https://www.graalvm.org/latest/reference-manual/embed-languages/#runtime-optimization-support.
To disable this version check the '-Dpolyglotimpl.DisableVersionChecks=true' system property can be used.
It is not recommended to disable version checks.

Is it safe to disable version check for production code?

@denis-komarov denis-komarov closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant