高分 解决jar打包文件问题。
manifest.mf文件内容:
Manifest-Version: 1.0
Created-By: 1.5.0-beta2 (Sun Microsystems Inc.)
Main-Class: Test.ClientDemo
使用命令:
jar cvfm test.jar manifest.mf *.class
能够打包成功,可惜结果jar包里的manifest.mf里的内容还是默认内容。(即没有额外添加上去的
Main-Class: Test.ClientDemo 这一句)
不知是什么原因,查了很多资料都无所得。希望大侠帮助解决。分数多多。