我用的是jdk1.42,我想将最基本的helloworld.class化为可执行的jar文件,该怎样办,我试着化为了jar文件,但打开jar文件总说找不到mainclass或fail to load
解决方案 »
- JXL中如何让字体在表格中居中
- 我安装的MYSQL上面只有org.gjt.mm.mysql.Driver,却没有com.mysql.jdbc.driver怎么办?
- jsp参数传递计算
- 如何建立.properties文件?
- 路过的朋友帮看看...在这里先谢谢了
- jsp中的absolute(),first()方法是干嘛的?
- 请问各位高手????????????????????????很急啊!!!!!!!!!!!!!!!!!!!
- 有点难度的问题向各位请教
- 组合查询问题
- jsp中request.QueryString()的用法?急问!!!!!!!
- 100分相送,求高手解决org.springframework.beans.factory.BeanCreationException
- 如何将jsp页面数据保存与word文档里面??请高手过来帮忙啊
nifest-Version: 1.2
Created-By: 1.4.2 (Sun Microsystems Inc.)
Main-Class: helloworld
运行c:\helloworld>jar cfm helloworld.jar MANIFEST.MF helloworld.class双击helloworld.jar,但总是提示:fail to load main-class manifest attribute from c:\helloworld\helloworld.jar
manifest-Version: 1.2
Created-By: 1.4.2 (Sun Microsystems Inc.)
Main-Class: helloworld
运行c:\helloworld >jar cfm helloworld.jar MANIFEST.MF helloworld.class
双击helloworld.jar,但总是提示:fail to load main-class manifest attribute from c:\helloworld\helloworld.jar