JVM fails to start on Windows and Mac if CRaC is enabled complaining it cannot find `criuengine`:
```
% java -XX:CRaCCheckpointTo=cr -version
OpenJDK 64-Bit Server VM warning: Could not find /Users/timpushkin/Projects/crac/build/macosx-aarch64-server-fastdebug/images/jdk/lib/criuengine: No such file or directory
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```
This happens because `criuengine` actually does not exists for Windows and Mac. A workaround is to set `-XX:CREngine` to `simengine.exe` on Windows or `simengine` on Mac.
```
% java -XX:CRaCCheckpointTo=cr -version
OpenJDK 64-Bit Server VM warning: Could not find /Users/timpushkin/Projects/crac/build/macosx-aarch64-server-fastdebug/images/jdk/lib/criuengine: No such file or directory
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```
This happens because `criuengine` actually does not exists for Windows and Mac. A workaround is to set `-XX:CREngine` to `simengine.exe` on Windows or `simengine` on Mac.
- links to
-
Commit(crac) openjdk/crac/2c9ab05b
-
Review(crac) openjdk/crac/166