Export -> Runnable JAR file :
在Launch configuration:中指定项目的入口函数
在Export destination:中指定输出目录
在Library handling:中选择Copy required librarys into a sub-folder next to the generated JAR(会生成一个文件夹,包含了项目中所需要的库或配置文件)
运行JAR包:java -jar XXX.jar 即可。
Export -> Runnable JAR file :
在Launch configuration:中指定项目的入口函数
在Export destination:中指定输出目录
在Library handling:中选择Copy required librarys into a sub-folder next to the generated JAR(会生成一个文件夹,包含了项目中所需要的库或配置文件)
运行JAR包:java -jar XXX.jar 即可。