I made a JavaFX app and packaged it as a .exe. When I installed it on another pc and tried to run it I get a screen with:> Error invoking method
After that I get a screen with:
Failed to launch JVM
I added my libraries to the compile & run sections. But probably there is still something wrong with them (not being packaged or something). When I try to run the jar I get:
Caused by: java.lang.ClassNotFoundException: javax.persistence.Persistence