e;\java下面的helloword
import java.io.*;public class helloword
{ public helloword()
{
} public static void main(String args[])
{
System.out.println("ok cmpp");
}
}
e;\java下面的MANIFEST.MF
Main-Class: helloword
然后
E:\java>jar cvfm hello.jar MANIFEST.MF helloword.class
输出以下结果
标明清单(manifest)
增加:helloword.class(读入= 423) (写出= 287)(压缩了 32%)生成了hello.jar但是双击它没有反应!是怎么回事情呢!请各位指教
import java.io.*;public class helloword
{ public helloword()
{
} public static void main(String args[])
{
System.out.println("ok cmpp");
}
}
e;\java下面的MANIFEST.MF
Main-Class: helloword
然后
E:\java>jar cvfm hello.jar MANIFEST.MF helloword.class
输出以下结果
标明清单(manifest)
增加:helloword.class(读入= 423) (写出= 287)(压缩了 32%)生成了hello.jar但是双击它没有反应!是怎么回事情呢!请各位指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货