Making a jarfile throught Intellij Artifacts show me this error when I run the jarfile :
Error: Invalid or corrupt jarfile Test.jar
Whilst making a jarfile throught Maven assembly plugins show me this when I run the jarfile
java.lang.NoClassDefFoundError: javafx/application/Application
I have no idea what I'm doing wrong.
EDIT : I put META-INF in the right folder and now have java.lang.NoClassDefFoundError: javafx/application/Application
however I make the jarfile. When I launch the program on Intellij everything works fine.