# java -jar home/helloworld.jar
no main manifest attribute, in home/helloworld.jar
在idea中打包没有问题,正常情况下,需要在jar的mainfest.mf中指定main类,报错之后,就需要重新指定他的main class
java -cp home/helloworld.jar com.zhou.App
# java -jar home/helloworld.jar
no main manifest attribute, in home/helloworld.jar
在idea中打包没有问题,正常情况下,需要在jar的mainfest.mf中指定main类,报错之后,就需要重新指定他的main class
java -cp home/helloworld.jar com.zhou.App