JavaFX Application "Cannot call method" / "Unable to start JVM"

We have a JavaFX 2 application developed in NetBeans 8.0.2 being packaged for deployment with WiX 3.9.1208, but we are having a problem on several seemingly random machines.

After installation, when trying to run the application, a dialog box is displayed with the name of the executable file and "Cannot call method" in the title. After clicking OK, the same window appears again, but with the heading "Unable to start JVM".

We combine Java 8u45 32-bit with MSI and everything seems to work on most machines, but we had the problem above, on users computers, in WinXP, Win7 32-bit and Win8.1 64-bit works on Mac in Parallels. It doesn't seem to matter if Java is installed on the user's computer or not, and we can't figure out if we might be causing the problem.

We didn't set up WiX deployment in any way, we just used what was out of the box and we have very little experience in deploying Java applications.

We were unable to reproduce this issue in any of our settings. Thanks in advance for any ideas on what might happen!

Regards, Richard

+3


source to share





All Articles