I am trying to build JRE bundled exe file of my project that is a game some sort of with the help of this tutorial using launch4j
, it has created exe
file but whenever I run this file it gives 2 error messages:
- A JNI error has occurred please check you installation.
- Java exception has occurred (JVM Launcher).
P.S: My project contains extra JAR files that are (AbsoluteLayout, curvesapi-1.03, poi-3.15-beta1, poi-ooxml-schema-3.15-beta1, xmlbeans-2.6.0
) in lib
folder.