[Solved] Creating a .jar file which includes package folder [closed]

To execute a JAR file with java -jar, it needs: A class containing a public static void main(String[]) method. A META-INF/MANIFEST.MF file that names that class in its Main-class: attribute. It doesn’t appear that you’ve satisfied either criterion. Package folders have nothing to do with it. solved Creating a .jar file which includes package folder … Read more