RFR: Add support for AIX in build process [v3]

Jorn Vernee jvernee at openjdk.org
Thu Dec 4 14:11:04 UTC 2025


On Thu, 4 Dec 2025 14:03:18 GMT, Suchismith Roy <sroy at openjdk.org> wrote:

> > Otherwise, if `loadLibrary` needs to be used, I think the resolution of the library should be done relative to `System.getProperty("java.home")` and then I suppose jlink puts the library under `lib`.
> 
> Aren't the files copied from lib clang directory to lib under jextract folder? Hence I used user.dir, as the application runs there

No, that's only for the build. In the final app image (under `./build/jextract` when using the gradle build) they are in the Java runtime image under `jextract/runtime/lib` (or `jextract/runtime/bin`. This is just where jlink puts them btw. We first create a .jmod file with the native libraries, and then use that to generate the runtime image using jlink.

-------------

PR Review Comment: https://git.openjdk.org/jextract/pull/297#discussion_r2589231619


More information about the jextract-dev mailing list