Problem in installing CMAK in Macos
See original GitHub issuemy 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Cannot install CMake for Mac OS X 10.8 - Stack Overflow
You can install cmake via Homebrew. Install Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)".
Read more >Installing - CMake
Typically this means selecting CMake as the Source directory and then selecting a binary directory for the resulting executables. macOS. There are pre-compiled ......
Read more >trouble installing cmake - macos - Apple Stack Exchange
For cmake the easiest way is to install the GUI from the .dmg - which you already have done. For other users. To...
Read more >macos wheel fail with cmake: command not found #200 - GitHub
seems strange that installing cmake requires cmake? OS: MacOS Big Sur Python version: 3.6.9.
Read more >Compiling OpenGL Programs on macOS or Linux using CMake
You will need to install libxmu and libxi (the 3rd line) if you have the following error when running cmake: CMake Error: The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What you can do is
sbt clean dist
instead of./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 <folder>
//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