Switch to Java 11. Add win installer

This commit is contained in:
Dmitry Isaenko 2023-02-08 01:15:30 +03:00
parent ffa9c6903f
commit c408f70b79
12 changed files with 1301 additions and 25 deletions

View file

@ -0,0 +1,8 @@
#### How to prepare JRE from JDK to bundle it with application
1. Run `java --list-modules`
2. Update resulting list s/@.*\n/\,/g
3. Run `jlink --no-header-files --no-man-pages --compress=2 --add-modules !!!_PASTE_RESULT_HERE_!!! --output jre`
4. JRE created at folder 'jre
jlink --no-header-files --no-man-pages --compress=2 --add-modules $($(java --list-modules) -join "," -replace "@[0-9].*") --output jre-11'