使用Eclipse制作jar文件

    技术2022-05-20  31

    1.右键Eclipse,选中Export.

    2.选中JAE-file

    3.选中要发布为jar文件的项目

    1).选中源文件夹

    2).钩去库文件夹,配置文件夹

    3).勾选Export generated class files and resources

    4).选择输出jar文件目的地

    4.连续2次 Next

    5.勾选Use existing manifest from workspace

    1)在配置文件夹下创建MANIFEST 文件

    2)内容如下:

    Manifest-Version: 1.0

    Main-Class: Test

    Class-Path: lib/activation-1.1.jar lib/...

    6.finish


    最新回复(0)