FULL PRODUCT VERSION :
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
A DESCRIPTION OF THE PROBLEM :
Hi, I'm the maintainer of the javafx-maven-plugin.
After upgrading to newer java-version, the generated .cfg-file changed the format, it is a simple "INI-file" now. That's not the problem, but when I set the bundle-argument "runtime" to null or empty string (for not having any bundled runtime), the generated native bundle is not having the runtime-folder, BUT the generated .cfg-file does contain "app.runtime=$APPDIR\runtime".
I documented my findings at github:
The problem, I found, seems to be the new introduced ini-file-format (which does not respect my setting):
The problem is not windows-only, it happens on ubuntu/linux too (but there JRE will be bundled).
REGRESSION. Last worked in version 8u45
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
* set runtime-parameter to empty string: <fx:platform basedir=""/>
* generate native bundle with jdk 1.8 update 60 (or above)
* try to run generated native launcher
EXPECTED VERSUS ACTUAL BEHAVIOR :
launcher starting with system JRE
launcher not working, says something about not being able to start JVM
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Only changing to "older" cfg-file-format makes it possible to launch windows native launcher