trying to make executable .jar file
I coded a program in intellij with using maven, made an artifact and build it, and if I run the .jar file which gets created using cmd it works.
Now I want to make it executable with a double-click without the need of an additional file, but when I try to run it that way an error message saying "A java Exception has occured." pops up, even tho it works when starting the file using
I also installed jarfix prior to this and run it as admin, it works for other .jar files which I needed it for, but doesn't help with my own program.
What am I doing wrong?
Now I want to make it executable with a double-click without the need of an additional file, but when I try to run it that way an error message saying "A java Exception has occured." pops up, even tho it works when starting the file using
java -jar file.jar in cmd.I also installed jarfix prior to this and run it as admin, it works for other .jar files which I needed it for, but doesn't help with my own program.
What am I doing wrong?
