mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Disable '-Djdk.module.illegalAccess=deny' javaoption
Disable the java option because it causes issues in the resulting app if packaged with a recent Java Runtime (tested with Java 11, 14 and 15).
This commit is contained in:
parent
0b40dff95d
commit
696a788e5e
1 changed files with 6 additions and 1 deletions
|
@ -222,15 +222,20 @@ task packageInstallers {
|
|||
" --copyright \"© 2020 Bisq\"" +
|
||||
" --vendor Bisq" +
|
||||
" --temp \"${jpackateTempDir}\"" +
|
||||
|
||||
// Options for creating the application image
|
||||
" --input ${fatJarFolderPath}" +
|
||||
|
||||
// Options for creating the application launcher
|
||||
" --main-jar ${mainJarName}" +
|
||||
" --main-class bisq.desktop.app.BisqAppMain" +
|
||||
" --java-options -Xss1280k" +
|
||||
" --java-options -XX:MaxRAM=4g" +
|
||||
" --java-options -Djava.net.preferIPv4Stack=true" +
|
||||
" --java-options -Djdk.module.illegalAccess=deny" +
|
||||
// Warning: this will cause guice reflection exceptions and lead to issues with the guice internal cache
|
||||
// resulting in the UI not loading
|
||||
// " --java-options -Djdk.module.illegalAccess=deny" +
|
||||
|
||||
// Options for creating the application package
|
||||
" --license-file \"${licenseFilePath}\"" +
|
||||
" --runtime-image \"${jdkForAppRuntimePath}\""
|
||||
|
|
Loading…
Add table
Reference in a new issue