I developed an JavaFX application and used the native packaging tool (incl. Inno Setup 5 and WiX) to create .exe files and installers. The program is a self-containing application, means it has its own JRE on board and some external .jars in a /lib folder. When I install and execute it it runs fine on my own computer (Windows 7) and some other machines but it seems not to run on Windows 10 and Windows Server 2008 R2. Also some Windows 7 machines cannot execute it. The error message after clicking the launch icon is: "Failed due to exception in main class". It does not say more. But when I execute the jar file by double-clicking or via the command prompt, it starts without any error dumps in the command line, all works fine.
Any idea what the error is? I suspect the class path but I dont know for sure.
Thank you!
Best regards,
Alex