Hi all,

I need to build the JDK due to a strict security environment. The build system is Ubuntu 22.04 x64 6.8.0 kernel inside a VM.

I read about JEP 493 (https://openjdk.org/jeps/493) and used the option "--enable-linkable-runtime". My configure command is:
configure \
    --with-conf-name=coffeelibs-openjdk-24 \
    --with-boot-jdk=/path/to/jdk23 \
    --with-version-pre= \
    --with-version-string="24.0.1+9" \
    --with-version-opt=coffeelibs \
    --with-native-debug-symbols=none \
    --enable-linkable-runtime

The jlink tool of this JDK is used later on. But when i try to build a minial jre with "coffeelibs-openjdk-24/bin/jlink --output runtime --module-path "coffeelibs-openjdk-24/jmods" --add-modules java.base", it throws the "... has been modified" error mentioned in the JEP, not for cacerts or other config files, **but binaries (e.g. java or lib/libextnet.so ).**

Does anyone know where the problem is?

Best regards,

--
Armin Schrenk

Skymatic GmbH, Am Hauptbahnhof 6, 53111 Bonn
Sitz der Gesellschaft: Bonn; Amtsgericht Bonn, HRB 22635

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to