I'm trying to compile a JavaFX native package on Windows 7 64 bit.
JDK 7U6 Beta
JavaFx sdk 2.2.0 Beta
Wix toolset 3.5
Inno Setup 5.5.1
When I run the tool installers *.exe and *.msi are created and they work as
installalation procedeure correctly completed.
The problem is when I run the application as I get a error message window
C:\Program Files (x86)\NativePackage\runtime\jre7\bin\server\jvm.dll
jvm.dll is not found
but I looked in C:\Program Files (x86)\NativePackage\runtime\jre7\bin\server and jvm.dll
If problem can be reproduced with latest JDK 7u6 build then please file JIRA on Deployment/Packager (http://javafx-jira.kenai.com/)
- What 7u6 build number you are using?
- Is it 32 or 64 bit JDK?
- Check permissions on the jvm.dll files, are they readable? Can you run depends.exe on them?
- Download PRocess Monitor from sys internals.com, set filter to include everything from your launcher exe file, try to run program again.
Export log to PML and attach it to the JIRA.
Does it work if you copy installed package to other location? e.g. copy it to c:\tmp\NativeBundle and try to run .exe file in it.
I'm using jdk-7u6-ea-bin-b20-windows-x64-18_jul_2012 64 bit
The problem occur building the bundle with e(fx)clipse 0.1.0 that uses C:\Program Files\Java\jre7 in build process (Using base JDK at: C:\Program Files\Java\jre7)
Using Netbeans 7.2 generated bundle works. Netbeans uses C:\Program Files\Java\jdk1.7.0_06\jre in build process (Using base JDK at: C:\Program Files\Java\jdk1.7.0_06\jre)
So I think problem depends on the JRE used in build process.
running eclipse with a different JRE (C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe) has solved the problem.
To do that I simply edited my eclipse.ini and added -vm C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe, here my
openFile -vm C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe