edvin / fxlauncher

Auto updating launcher for JavaFX Applications
Apache License 2.0
715 stars 107 forks source link

JVM args #166

Open egorovna26 opened 5 years ago

egorovna26 commented 5 years ago

Hello. Tell me where to add JVM properties in the pom.xml file? I need the application to run with the -Dprism.order = sw property.

edvin commented 5 years ago

If you're using the Maven installer:install execution, you simply add an argument with the -BjvmOptions= according to the javapackager docs:

<argument>-BjvmOptions=-Dprism.order = sw</argument>