You can use -Xbootclasspath/a . Pay attention to the release notes , which say: -
In this release, the path to the load class has been removed. Java -Xbootclasspath and -Xbootclasspath/p have been removed.
The javac -bootclaspath can only be used when compiling in JDK 8 or higher. The system property sun.boot.class.path been removed.
Deployments based on overriding the platform classes for testing the target with -Xbootclasspath/p must be modified to use the --patch-module , which is described in JEP 261 .
The -Xbootclasspath/a not changed.
source share