在运行jar cfm Jerry.jar test.mf Hello.class时
总出现java.io.FileNotFoundExceptio:moon.mf(系统找不到指定的文件)是怎么回事啊。 test.mf:
Manifest-Version: 1.0
Created-By: 1.4.2(Sun Microsystems Inc.)
Main-Class: Hello
test.mf 和Hello.class在同以目录下
总出现java.io.FileNotFoundExceptio:moon.mf(系统找不到指定的文件)是怎么回事啊。 test.mf:
Manifest-Version: 1.0
Created-By: 1.4.2(Sun Microsystems Inc.)
Main-Class: Hello
test.mf 和Hello.class在同以目录下
总出现java.io.FileNotFoundExceptio:test.mf(系统找不到指定的文件)是怎么回事啊。 test.mf:
Manifest-Version: 1.0
Created-By: 1.4.2(Sun Microsystems Inc.)
Main-Class: Hello
test.mf 和Hello.class在同以目录下
刚才打错了
javac *.java
jar cvfm test.jar Manifest.mf *.class
java -jar test.jar