Create JAR file using Net Beans including all dependent libs and folders

Theoretically JAR files cannot contain dependencies within, as java does not support it out of the box. WAR and EAR archives can. What You want to do is not standard, but is named fat jar. Fat jars are used i.e. by spring-boot maven plugin, but you could try this: https://dzone.com/articles/how-build-fat-jar-using And some more explanation: NetBeans - deploying all in one jar