@@ -54,6 +54,7 @@ jobs:
--output runtime
--module-path "${JAVA_HOME}/jmods"
--add-modules java.base,java.desktop,java.logging,java.naming,java.net.http,java.scripting,java.sql,java.xml,jdk.unsupported,jdk.crypto.ec,jdk.accessibility,jdk.management.jfr
+ --strip-native-commands
--no-header-files
--no-man-pages
--strip-debug
@@ -20,6 +20,7 @@ ${JAVA_HOME}/bin/jlink \
--output runtime \
--module-path "${JAVA_HOME}/jmods" \
--add-modules java.base,java.desktop,java.logging,java.naming,java.net.http,java.scripting,java.sql,java.xml,jdk.unsupported,jdk.crypto.ec,jdk.accessibility,jdk.management.jfr \
+ --strip-native-commands \
--no-header-files \
--no-man-pages \
--strip-debug \
@@ -19,6 +19,7 @@ override_dh_auto_build:
jlink \
@@ -38,6 +38,7 @@ ${JAVA_HOME}/bin/jlink \
@@ -42,6 +42,7 @@ if ($clean -and (Test-Path -Path $runtimeImagePath)) {
--output runtime `
--module-path "$Env:JAVA_HOME/jmods" `
--add-modules java.base,java.desktop,java.logging,java.naming,java.net.http,java.scripting,java.sql,java.xml,jdk.unsupported,jdk.crypto.ec,jdk.accessibility,jdk.management.jfr `
+ --strip-native-commands `
--no-header-files `
--no-man-pages `
--strip-debug `