I have an existing javafx project in eclipse (JDK 1.8). The goal ist to create a msi package which contains an executable. But the java runtime should NOT be included. But when I start the application it shows following error:
Failed to find library ...\runtime\bin\server\jvm.dll
The build.xml fx:deploy target looks like this:
<fx:deploy embedJNLP="true"
install="false"
shortcut="true"
extension="false"
includeDT="false"
offlineAllowed="true"
outdir="${basedir}/deploy"
outfile="test"
nativeBundles="msi"
updatemode="background"
verbose="true">
<fx:platform basedir=""/>
<fx:info title="test" vendor="test GmbH" />
<fx:application refId="fxApplication" />
<fx:resources refid="appRes" />
<fx:preferences install="false" shortcut="true" />
</fx:deploy>
The platform basedir is configured to NOT include runtime. <fx:platform basedir=""/>
How to configure project to start with the default installed JRE?