mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-20 10:15:22 -04:00
Switch to Java 11. Add win installer
This commit is contained in:
parent
ffa9c6903f
commit
c408f70b79
12 changed files with 1301 additions and 25 deletions
8
misc/windows/HOWTO_JRE.md
Normal file
8
misc/windows/HOWTO_JRE.md
Normal 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'
|
Loading…
Add table
Add a link
Reference in a new issue