Create a Single File . jar with All Dependencies in Netbeans

Asked

Viewed 362 times

0

When a project is compiled in Netbeans, libraries are included in the dist folder in the lib folder. In Eclipse there is the possibility to create a single jar file with all files included. There is something similar in Netbeans for easy portability?

grateful

  • You have to configure some directives in the Maven build.xml.

  • If it’s jar, if you added it to the project, you don’t need to do anything else.

  • I found a good link here... but I can’t answer. http://www.jitendrazaa.com/blog/java/generating-executable-jar-file-with-all-dependencies-and-libraries-in-single-jar-using-netbeans-and-eclipse/

  • I recommend using Maven to manage dependencies and also generate the executable. If interested, I can go for a full answer

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.