首页 > 编程语言 > 详细

【Intellij】导出 jar 包

时间:2016-09-03 12:10:46      阅读:143      评论:0      收藏:0      [点我收藏+]

需要在 Intellij 导出 jar 包,一时不知道该怎么做,后来总算找到了方法,步骤如下:

1. File → Project Structure... → Artifacts → + → jar → From modules with .... → 选择一个要执行的main方法

2. 勾选 extract to the target JAR

3. 选择 manifest 的位置:d:\idea\myproject\src

4. 勾选 build on make

5. build -> build artifacts... -> build

6. D:\idea\myproject\out\artifacts\ 寻找 jar 文件

 

参考链接:

http://my.oschina.net/scipio/blog/287634?p=1

http://blog.sina.com.cn/s/blog_5d2054d90102vzru.html

【Intellij】导出 jar 包

原文:http://www.cnblogs.com/jaxer/p/5836582.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!