When using javapackager you can install NOT NOT JRE. This allows you to use a locally installed JRE (which may not be the best solution).
When using javafx-maven-plugin you just need to set the bundlerArgument parameter:
<configuration>
<mainClass>com.zenjava.test.Main</mainClass>
<bundleArguments>
<runtime />
</bundleArguments>
</configuration>
javafx- gradle -plugin NULL:
jfx {
verbose = true
mainClass = 'your.application.appname'
appName = 'appname'
jfxMainAppJarName = 'appname.jar'
vendor = "My Company"
bundleArguments = [
runtime: null
]
}
ant -style xml javapacker :
<fx:bundleArgument name="runtime" value="" />
: javafx-maven-plugin javafx-gradle-plugin.