JNI error occurred after converting jar to exe launch4j
问题 I created JAR file of my JavaFX application. JAR file is working perfectly fine without any error. But when i converted jar into exe using launch4j and tried to open exe file file it gives two errors: Java Virtual Machine Launcher Error: A JNI error has occurred, please check your installation and try again. Java Virtual Machine Launcher A Java Exception has occurred. Here is the log: Exception in thread "main" java.lang.UnsupportedClassVersionError: Main has been compiled by a more recent