Summary of problem
OpenJDK introduced the configuration option --with-jni-libpath in Java 12, which affects the definition of HOTSPOT_OVERRIDE_LIBPATH, ultimately altering the default value of java.library.path. As the name suggests, this is specific to HotSpot, but ibmruntimes/openj9-openjdk-jdk21#386 wonders if OpenJ9 might support that option.