File->Export->Java->Runnable Jar File, 然后点next, 在弹出的窗口中,
1. Lauch configuration(启动设置: 选择要打包工程中有main函数的那个类, 没有main就不能运行了).
2. Export Destination(设置生成的Jar包所在的目录, 点击右边的浏览按钮就可进行设置了)
点击完成就可以了.
1. Lauch configuration(启动设置: 选择要打包工程中有main函数的那个类, 没有main就不能运行了).
2. Export Destination(设置生成的Jar包所在的目录, 点击右边的浏览按钮就可进行设置了)
点击完成就可以了.