Skip to content
Permalink
Browse files

win

  • Loading branch information
dbarashev committed Jun 29, 2019
1 parent 3d6b6a0 commit 63a7220d8f326c9f02e0ee24858223c7d6be9239
Showing with 3 additions and 3 deletions.
  1. +3 −3 build-bin/package-win.bat
@@ -15,9 +15,6 @@ set JAVAFX_MODS_PATH=%4
dir "C:\Program Files\Java\zulu-11-azure-jdk_11.31.11-11.0.3-win_x64\jmods"
build\runtime\bin\java --module-path "build-bin\win;C:\Program Files\Java\zulu-11-azure-jdk_11.31.11-11.0.3-win_x64\jmods" --list-modules

SET JAVA_HOME="%PWD%\build\runtime"
echo %JAVA_HOME%
cp build-bin\win\jpackager.exe build\runtime\bin

"C:\Program Files\Java\zulu-11-azure-jdk_11.31.11-11.0.3-win_x64\bin\jlink" ^
--add-modules java.base,java.datatransfer,java.desktop,java.logging,java.naming,java.net.http,java.security.jgss,java.xml,jdk.charsets,jdk.unsupported,jdk.unsupported.desktop,javafx.controls,javafx.swing,javafx.web,jdk.jlink ^
@@ -27,6 +24,9 @@ cp build-bin\win\jpackager.exe build\runtime\bin
--strip-debug ^
--compress=2

SET JAVA_HOME="%PWD%\build\runtime2"
cp build-bin\win\jpackager.exe build\runtime2\bin

build\runtime2\bin\java --module-path "build-bin\win" ^
--add-modules jdk.jlink ^
--add-opens jdk.jlink/jdk.tools.jlink.internal.packager=jdk.packager ^

0 comments on commit 63a7220

Please sign in to comment.
You can’t perform that action at this time.