CMAK icon indicating copy to clipboard operation
CMAK copied to clipboard

Problem in installing CMAK in Macos

Open shakesBeardZ opened this issue 3 years ago • 6 comments

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

shakesBeardZ avatar Jun 16 '21 02:06 shakesBeardZ

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

sergiohdezchi avatar Sep 15 '21 01:09 sergiohdezchi

What you can do is

  1. brew install sbt
  2. and in existing folder run sbt clean dist instead of ./sbt clean dist

kntiwary avatar Nov 21 '21 11:11 kntiwary

Thank you @kntiwary ! It worked for me!!!!

Anastasion88 avatar Feb 01 '22 16:02 Anastasion88

Its not working for Ubuntu ./sbt clean dist

pravinpathak49 avatar Feb 07 '22 03:02 pravinpathak49

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

goferHiro avatar Apr 14 '22 12:04 goferHiro

I'm having the same issue in linux

Aditya-Naresh avatar Apr 29 '23 08:04 Aditya-Naresh