Topic: 程序压缩成jre文件出错

  Print this page

1.程序压缩成jre文件出错 Copy to clipboard
Posted by: carolina
Posted on: 2006-12-26 14:29

拿个简单的例子:
public class hello
{
public static void main (String args[])
{
System.out.println("Nice to meet you!");
}
}

Mymoon.mf文件内容:
Manifest-Version: 1.0
Main-Class: hello
Created-By: 1.2.2(Sun Microsystems Inc.)

生成jar文件:
c:/1000 jar cfm Tom.jar Mymoon.mf hello.class
编译无错误
问题出现了:双击c:/1000中的Tom.jar应用程序无反映,什么也没发生。
哪位知者可否告诉我下why,thank uSmile

2.Re:程序压缩成jre文件出错 [Re: carolina] Copy to clipboard
Posted by: lisliefor
Posted on: 2006-12-26 19:45

论坛很多资源,为什么不善于去发现呢?

http://www.cjsdn.com/2006-06-23/content.1151021374066d18.html

3.Re:lisliefor [Re: lisliefor] Copy to clipboard
Posted by: carolina
Posted on: 2006-12-27 10:16

论坛资源已看,但依然是双击无反映,我想确定是我程序的执行就无结果还是我设置的问题?
望能回复,谢谢


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923