diff --git a/desktop/package/linux/package.sh b/desktop/package/linux/package.sh index 8390f808f15..25c989b097f 100755 --- a/desktop/package/linux/package.sh +++ b/desktop/package/linux/package.sh @@ -111,6 +111,7 @@ $JAVA_HOME/bin/javapackager \ -BjvmOptions=-Xss1280k \ -BjvmOptions=-XX:MaxRAM=4g \ -BjvmOptions=-Djava.net.preferIPv4Stack=true \ + -BjvmOptions=-Djdk.module.illegalAccess=deny \ -outfile Bisq-$version \ -v diff --git a/desktop/package/macosx/create_app.sh b/desktop/package/macosx/create_app.sh index baa3515a7ba..25540a5d782 100755 --- a/desktop/package/macosx/create_app.sh +++ b/desktop/package/macosx/create_app.sh @@ -91,6 +91,7 @@ $JAVA_HOME/bin/javapackager \ -srcfiles "Bisq-$version.jar" \ -appclass bisq.desktop.app.BisqAppMain \ -outfile Bisq \ + -BjvmOptions=-Djdk.module.illegalAccess=deny \ -v open deploy diff --git a/desktop/package/windows/package.bat b/desktop/package/windows/package.bat index e535ebe2bd8..0ad8e3838ab 100644 --- a/desktop/package/windows/package.bat +++ b/desktop/package/windows/package.bat @@ -111,6 +111,7 @@ call "%JAVA_HOME%\bin\javapackager.exe" -deploy ^ -srcdir "%package_dir%" ^ -srcfiles %jar_filename% ^ -outfile Bisq ^ +-BjvmOptions=-Djdk.module.illegalAccess=deny ^ -v if not exist "%package_dir%\windows\Bisq-%version%.exe" (