Created
February 26, 2016 10:19
-
-
Save itang/e515259862ea75c79d4e to your computer and use it in GitHub Desktop.
create jdk9 runtime image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## hacked for https://github.com/AdoptOpenJDK/jdk9-jigsaw/blob/master/09_JLink/link.sh | |
set -eu | |
echo "Removing any existing executable directory" | |
rm -rf executable | |
# mkdir executable | |
echo | |
echo "Create an executable version of the com.greetings module" | |
jlink --strip-debug --compress=2 --modulepath $JAVA_HOME/jmods:mlib --addmods com.greetings --output executable | |
tree executable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment