<div dir="ltr">Hi,<div><br></div><div>It seems fairly common for modules published to Maven Central to embed native libraries in the .jar file itself, in order to avoid the complications of applications having to install the native libraries themselves.  </div><div><br></div><div>Some libraries (including one, <a href="https://github.com/mongodb/libmongocrypt/tree/master/bindings/java/mongocrypt">https://github.com/mongodb/libmongocrypt/tree/master/bindings/java/mongocrypt</a>, that I maintain for MongoDB) delegate the extraction of the appropriate native library to JNA, while others that use JNI directly (like <a href="https://github.com/xerial/snappy-java">https://github.com/xerial/snappy-java</a>) implement the extraction via custom code (see <a href="https://github.com/xerial/snappy-java/blob/v1.1.10.5/src/main/java/org/xerial/snappy/SnappyLoader.java#L53-L56">https://github.com/xerial/snappy-java/blob/v1.1.10.5/src/main/java/org/xerial/snappy/SnappyLoader.java#L53-L56</a>).</div><div><br></div><div>As the community starts to move away from JNI and JNA to the new Foreign Function API defined in JEP 454, are there any plans to support the automatic loading of native libraries from the classpath in the Java platform itself? </div><div><br></div><div><br></div><div>Thanks,</div><div>Jeff Yemin</div><div><br></div></div>