How to distribute a java project embedded in Eclipse?

So far, I have used the Netbeans IDE for Java applications. To distribute applications made in Netbeans, I simply click on clean and build and pack the application into a .jar file, which is located in the dist directory.

Now I have created a java project in Eclipse . Is Eclipse any functionality similar to the clean and build Netbeans functionality with which we can package java applications for distribution.

+7
java eclipse
source share
4 answers

You can right-click the project, select "Export" and select "Java" and then JAR as the format.

+13
source share

File → Export ...

And select Java -> JAR File. You will receive a wizard to export any of your projects.

+4
source share

Yes, it has clean and functional functionality. clean, clear all developed classes from the specified build location, which builds class files in the same specific location, respectively.

To distribute the project as a jar, you need to right-click on the project and select export, and in it select as jar.

0
source share

Eclipse has a feature to export it all as an expandable jar. It is located in the file> export.

0
source share

All Articles