D:\Java\javaproject\javatest\myjar>jar -cvfm my.jar 1.txt mymenu
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:410)
at java.util.jar.Manifest.read(Manifest.java:199)
at java.util.jar.Manifest.<init>(Manifest.java:69)
at sun.tools.jar.Main.run(Main.java:172)
at sun.tools.jar.Main.main(Main.java:1177)
因为想实现执行jar包的操作,但是看视频到这里时,发现有异常提示,不明白怎么回事 |
|