2016-09-26 34 views
0

我在使用intelliji EDK创建可运行的jar文件时遇到了问题,我在Eclipse EDK中尝试了这一点,它是成功的,但我不'这个人似乎找不到任何运气。如何在intelliji中构建可运行的jar文件14.1.4

+0

那你试试?您需要在“项目结构”对话框中配置工件。 – yole

+0

是的,先生,我确实尝试过,我无法再走了。 –

回答

0

按照以下步骤来创建一个.jar使用的IntelliJ IDEA 14.1.4:

1.File > Save All. 
2.Run driver or class with main method. 
3.File > Project Structure.Select Tab "Artifacts". 
4.Click green plus button near top of window. 
5.Select JAR from Add drop down menu. 
6.Select "From modules with dependencies"Select main class. 
7.The radio button should be selecting "extract to the target JAR." 
8.Press OK.Check the box "Build on make"Press apply and OK. 
9.From the main menu, select the build dropdown. 
10.Select the option build artifacts. 
+0

mayny谢谢,虽然第5条指令没有在我的情况下显示...我认为这个问题可能在我的软件? –

相关问题