Skip to content

Commit 8cb3045

Browse files
ahakanbabageorgewfraser
authored andcommitted
Ensure script uses the right jlink executable
Related to : #293
1 parent 3afa1f7 commit 8cb3045

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/link_mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ JAVA_HOME="./jdks/mac/jdk-21"
88

99
# Build using jlink
1010
rm -rf dist/mac
11-
jlink \
11+
$JAVA_HOME/Contents/Home/bin/jlink \
1212
--module-path $JAVA_HOME/Contents/Home/jmods \
1313
--add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \
1414
--output dist/mac \
1515
--no-header-files \
1616
--no-man-pages \
17-
--compress 2
17+
--compress 2

0 commit comments

Comments
 (0)