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


To execute a JAR file with java -jar, it needs:

  1. A class containing a public static void main(String[]) method.
  2. 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 [closed]