ChinaUnix.net
相关文章推荐:

eclipse export jar

命令: jar cfm mytest.jar mytest.mft mytest.class 用eclipse生成:File->export->jar File 点下一步,在下面的画面中设置Main class: 点击完成就可以了。用winrar解压缩该jar文件,会发现其中有一个META-INF文件夹,里面就是MANIFEST.MF,其中设定了Main-Class: Calculator. 注意,如果不再上图中设置Main class,虽然可以生成jar文件,但是不能通过双击它直接运行程序.因为生成的MANIFEST.MF文件中没有设定Main-Class:...

by linux_wuliqiang - Java文档中心 - 2008-09-15 18:26:51 阅读(1859) 回复(0)

相关讨论

在项目中引入.jar文件的方式--User Libraries。这种方式和JBulider有点像。假设三个.jar文件存放在E:\coresun\lib \SQLServer2000Driver文件夹下。打开eclipse,然后点击Window菜单 -->Preferences-->Java-->Build Path-->User Libraries,如下图所示: 然后点击右上角的New按钮,弹出如下界面: 给用户库起个名字,如SQLServer2000Drever,下面的System libraries前的勾选不选对我们程序使用没有什么影响,只是使用不同的类加载器加...

by vhtk - Java文档中心 - 2009-04-22 11:41:43 阅读(1277) 回复(0)

eclipsejar包 To create a new jar file in the workbench: In the Package Explorer, you can optionally pre-select one or more Java elements to export. (These will be automatically selected in the jar Package Specification wizard page, described in Step 4.) From the menu bar, select File > export. Select jar file, then click Next. In the jar Package Specification page, select the resources...

by xue2 - Java文档中心 - 2009-04-21 13:46:51 阅读(1428) 回复(1)

********************************************** ** 文章名称:关于eclipsejar包与执行 ** 版权信息:可以任意转载,但要注明出处及作者信息 ** 作 者: 隗公万 ** 时 间: 2009.03.13 ** 联系方式:weigongwan@gmail.com ***********************************************/ 看过此文的朋友别笑话我,我只是把eclipse下打jar包的方法记录下来,以便今后自己用到的时候用。 一、环境 eclipse 3.3.2 fatjar 二、步...

by weigongwan - Java文档中心 - 2009-03-13 18:34:29 阅读(1078) 回复(0)

eclipse 怎么使用.jar的demo

by zcm211 - Web开发 - 2008-05-18 16:12:02 阅读(1763) 回复(0)

最后一步出错: Resource is out of sync with the file system 这是什么原因呢

by yi_001 - Java - 2007-03-31 22:27:52 阅读(2861) 回复(2)

原文链接 http://fjep.sourceforge.net/ //整理 By Robin_Kin Fat jar eclipse Plug-In 是一个用来把 java项目打包成一个可执行的 jar文件的 插件 The Fat jar eclipse Plug-In is a Deployment-Tool which deploys an eclipse java-project into one executable jar. It adds the Entry "Build Fat-jar" to the export-Wizard. In addition to the eclipse standard jar-exporter referenced classes and jars are included to th...

by RobinKin - Java文档中心 - 2005-03-27 19:36:41 阅读(2496) 回复(0)
by rainfly100 - Java - 2006-09-22 09:17:44 阅读(4775) 回复(2)

导出前项目目录如下: test --bin --META-INF --MANIFEST.MF --DemoPanel.class --DynamicDataDemo2$DemoPanel.class --DynamicDataDemo2.class --lib --jcommon-1.0.0.jar --jfreechart-1.0.1.jar --log --src --META-INF --MANIFEST.MF --DemoPanel.java --DynamicDataDemo2.java .classpath .proje...

by wang_lxiang - Java - 2009-05-08 12:55:33 阅读(2595) 回复(2)

每天都到这个时候才有空写点blog,看来不用连载的方法没办法写个比较完整的东西了。 言归正传,eclipseexport向导的编写主要有一下几个步骤,以后用数篇blog文来完成吧。 1. 建立插件项目 2. 建立一个exportWizards的扩展,给这个扩展新建一个类,继承Wizard,实现IexportWizard接口 3. 建立几个页面的类,继承WizardPage。将这些类加到Wizard里面去。 4. 整合代码,调试至通过。 ...

by failer - Java文档中心 - 2007-08-25 23:32:33 阅读(881) 回复(0)

各位大侠: 小弟遇到困难,请教以下问题: (1)eclipse中Preference Page的的Import和export是如何实现的? (2)整个Preference Page是如何被显示出来的? (3).epf文件的读写方法是什么? 多谢大家了!!!

by jerrylixx - Java - 2004-12-01 15:02:11 阅读(1120) 回复(0)