Try using the JVM option:

 -XX:+IgnoreUnrecognizedVMOptions

Tom
________________________________
From: jigsaw-dev <[email protected]> on behalf of Alan Snyder 
<[email protected]>
Sent: Wednesday, February 4, 2026 1:02 PM
To: [email protected] <[email protected]>
Subject: [EXTERNAL] problems using --enable-native-access

I started trying to use —enable-native-access but ran into a problem.

I have some (test) programs that I run with many different JDKs. The problem is 
that giving —enable-native-access to an old JDK is a fatal error.

Is there some way to perform this configuration that does not crash an older 
JDK?

A system property, perhaps?

Reply via email to