如何分发Eclipse内置的java项目? [英] How to distribute java project built in Eclipse?
问题描述
到目前为止,我一直在为Java应用程序使用 Netbeans IDE
。要分发在Netbeans中创建的应用程序,我只需单击 clean并构建
,它将应用程序打包在.jar文件中,该文件位于 dist
目录。
Till now, I have been using Netbeans IDE
for Java Applications. To distribute applications made in Netbeans, I just click on clean and build
and it packs the application in .jar file which resides in a dist
directory.
现在我在 Eclipse
中创建了一个java项目。 Eclipse是否具有类似于清除和构建
的功能 Netbeans
,我们可以通过它们打包java应用程序来分发它们。
Now I have made a java project in Eclipse
. Is Eclipse has any functionality similar to clean and build
functionality of Netbeans
by which we can pack java applications to distribute them.
推荐答案
您可以右键单击项目,选择Export并选择Java,然后选择JAR作为格式。
You can right-click the project, select Export and choose Java, then JAR as the format.
这篇关于如何分发Eclipse内置的java项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!