CMAK
CMAK copied to clipboard
Problem in installing CMAK in Macos
my current setup is:
mac os version: 10.15.7
java installed version (JDK): java 16.0.1
when I run the command
./sbt clean dist
it gives
Cannot use JVMCI compiler: No JVMCI compiler found
my current setup is:
mac os version: 10.15.7 java installed version (JDK): java 16.0.1
when I run the command
./sbt clean dist
it gives
Cannot use JVMCI compiler: No JVMCI compiler found
You need jdk 11
What you can do is
- brew install sbt
- and in existing folder run
sbt clean dist
instead of./sbt clean dist
Thank you @kntiwary ! It worked for me!!!!
Its not working for Ubuntu ./sbt clean dist
OpenJDK comes JVMCI compiler but Oracle doesnt.
So 3 solns Install openjdk11 or install Graal Compiler
I went with 2nd option
Installing in Mac is a bit tricky
https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-22.0.0.2
Caveat - Mac Os Catalina
sudo xattr -r -d com.apple.quarantine
//recursively removes quarantine attribs for all executables in the folder
3rd soln- sbt clean dist -Djava.security.manager=allow
Refer -https://bugs.openjdk.java.net/browse/JDK-8266577
I'm having the same issue in linux