> On May 19, 2021, at 9:40 AM, Andy Herrick wrote:
>
> I don't think jlink will ever include the jdk development tools in a custom
> runtime (using jlink on windows or mac without --strip-native-commands only
> gives me java and keytool),
Mac gave me the 9 commands shown earlier. Something
I don't think jlink will ever include the jdk development tools in a
custom runtime (using jlink on windows or mac without
--strip-native-commands only gives me java and keytool), but you can
include the whole jdk (less src.zip and the jmods directory) by using
--runtime-image and pointing to
I added
--jlink-options '--strip-debug --no-man-pages --no-header-files’
to my invocation, avoiding --strip-native-commands, so that the native java
commands are not stripped. I believe currently recommended jpackage way to do
this.
I get the following commands in my embedded JDK
java