Relative Content

Tag Archive for javamavenintellij-ideajvmjpackage

My java application using jpackage gets error: Failed to launch JVM

Im trying to create a Java app in Intellij with Maven and jpackage. The .jar file is created correctly and it works and the installer seems to be okay, but when I try to open the app that I got from the installer it opens an error window saying Failed to launch JVM. I created the installer using the Intellij interface and the command: jpackage –input target –name kata7 –main-jar kata7-1.0-SNAPSHOT.jar –main-class org.example.Main –type exe and neither of them works.