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

No JVMCI compiler found, but I use openjdk Java 17 #927

Open
zamek42 opened this issue Dec 18, 2023 · 1 comment
Open

No JVMCI compiler found, but I use openjdk Java 17 #927

zamek42 opened this issue Dec 18, 2023 · 1 comment

Comments

@zamek42
Copy link

zamek42 commented Dec 18, 2023

Hi All,

I installed graalvm and added to my .bashrc in Debian, like this:

JAVA_HOME=/usr/lib/jvm/default-java
java -version
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.9+9-Debian-1deb12u1, mixed mode, sharing)
GRAALVM_HOME=/opt/graalvm

when I try to start sbt:

./sbt
Cannot use JVMCI compiler: No JVMCI compiler found

So I use openjdk and seems every path are ok, how can I compile cmak?
thx,
Zamek

@aramidhwan
Copy link

Remove "-XX:+UseJVMCICompiler" in the "sbt" file if you use JDK 17.
It might looks like this:
echo "$default_jvm_opts_common -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler"
==> echo "$default_jvm_opts_common -XX:+UnlockExperimentalVMOptions"

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

2 participants