git clone
this project
- Download GraalVM for JDK 21 Community 21.0.2 : https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_linux-x64_bin.tar.gz
- Add it to your PATH and export JAVA_HOME
export JAVA_HOME=/path/to/graalvm/untared
export PATH=$JAVA_HOME/bin:$PATH
cd /path/to/cloned/repo
./mvnw clean -Pnative native:compile
or ./mvnw -e -X clean -Pnative native:compile
for more logging
- A simple
./mvnw clean compile
might segfault too, but strangely a bit less error-prone. This should never be the case, in any of the maven phase (clean, validate, compile, test, package, verify, install, deploy, etc.) as this never happens with other JDK distribution (Oracle, temurin, etc.)
- Wait a few minutes
- segfault