用Eclipse打JAR包

To create a new JAR file in the workbench:
  1. 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.)
  2. From the menu bar, select File > Export.
  3. Select JAR file, then click  Next.
  4. In the Jar Package Specification page, select the resources that you want to export in the Select the resources to export field.
  5. Select the appropriate check box to specify whether you want to Export generated class files and resources or Export Java source files and resources.
    Note: Selected resources are exported in both cases.
  6. In the  Select the export destination field, either type or click  Browse to select a location for the JAR file.
  7. Select or clear the  Compress the contents of the JAR file check box.
  8. Select or clear the  Overwrite existing files without warning check box. If you clear thischeck box, then you will be prompted to confirm the replacement of each file that will be overwritten.
    Note: The overwrite option is applied when writing the JAR file, the JAR description, and the manifest file.
  9. You have two options:
    • Click  Finish to create the JAR file immediately.
    • Click  Next to use the JAR Packaging Options page to set advanced options, create a JAR description, or change the default manifest.

========================================

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值