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
For build instructions please see the online documentation, or either of these files:
- doc/building.html (html version)
- doc/building.md (markdown version) See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.