File -> Export -> Java -> JAR file -> Next ->
Select the resources to export(勾选需要打包的工程)
Select the export destination(选择jar的保存位置并给jar命名)
-> next -> next ->
Select the class of the application entry point(选择java工程中的main类,否则生成的jar双击不能运行)
File -> Export -> Java -> JAR file -> Next ->
Select the resources to export(勾选需要打包的工程)
Select the export destination(选择jar的保存位置并给jar命名)
-> next -> next ->
Select the class of the application entry point(选择java工程中的main类,否则生成的jar双击不能运行)