Friday, December 4, 2020

GraalVM on macOS Big Sur

Apparently Graal isn't registered or signed right for macOS Big Sur:

> graalvm-ce-java11-20.3.0/Contents/Home/bin/java —version

Produces the following:

To get around this, run the following:

> sudo xattr -r -d graalvm-ce-java11-20.3.0                  
> graalvm-ce-java11-20.3.0/Contents/Home/bin/java --version     
openjdk 11.0.9 2020-10-20
OpenJDK Runtime Environment GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0 (build 11.0.9+10-jvmci-20.3-b06, mixed mode, sharing)