CRaC JDK have extended build procedure.
- Build JDK as usual
bash configure
make images
mv build/linux-x86_64-server-release/images/jdk/ .
- Download a build of modified CRIU
- Extract and copy
criu
binary over a same named file in the JDK
cp criu-dist/sbin/criu jdk/lib/criu
Grant permissions to allow regular user to run it
sudo chown root:root jdk/lib/criu
sudo chmod u+s jdk/lib/criu