Skip to content

Commit

Permalink
Use jlink from downloaded jdk
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed Mar 5, 2023
1 parent 011c0d5 commit 92b6372
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/link_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JAVA_HOME="./jdks/linux/jdk-18"

# Build in dist/linux
rm -rf dist/linux
jlink \
$JAVA_HOME/bin/jlink \
--module-path $JAVA_HOME/jmods \
--add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \
--output dist/linux \
Expand Down
2 changes: 1 addition & 1 deletion scripts/link_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JAVA_HOME="./jdks/mac/jdk-18"

# Build using jlink
rm -rf dist/mac
jlink \
$JAVA_HOME/bin/jlink \
--module-path $JAVA_HOME/Contents/Home/jmods \
--add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \
--output dist/mac \
Expand Down
2 changes: 1 addition & 1 deletion scripts/link_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JAVA_HOME="./jdks/windows/jdk-18"

# Build in dist/windows
rm -rf dist/windows
jlink \
$JAVA_HOME/bin/jlink \
--module-path $JAVA_HOME/jmods \
--add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \
--output dist/windows \
Expand Down

0 comments on commit 92b6372

Please sign in to comment.