Skip to content

FISH-12969 Payara Server Startup Fails in Apache NetBeans IDE Due to the CRaCCheckpointTo Option#9237

Open
jGauravGupta wants to merge 1 commit intoapache:masterfrom
jGauravGupta:FISH-12969
Open

FISH-12969 Payara Server Startup Fails in Apache NetBeans IDE Due to the CRaCCheckpointTo Option#9237
jGauravGupta wants to merge 1 commit intoapache:masterfrom
jGauravGupta:FISH-12969

Conversation

@jGauravGupta
Copy link
Contributor

Payara Server startup may fail in Apache NetBeans when domain.xml contains
the JVM option:

-XX:CRaCCheckpointTo=...

This option is only supported by CRaC-enabled JDKs. The IDE
previously filtered JVM options only by version and vendor, without checking
whether the selected JDK supports CRaC. As a result, non-CRaC JDKs failed to
start with “Unrecognized VM option” errors.

This PR enhances JDKVersion.isCorrectJDK(...) to additionally validate
CRaC-related options. CRaC options are now applied only if the selected
server JDK (javaHome) contains lib/criu, indicating CRaC support.

No changes to existing vendor/version logic. Standard JDK behavior remains
unchanged.

@jGauravGupta jGauravGupta added Java EE/Jakarta EE [ci] enable enterprise job labels Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java EE/Jakarta EE [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant