In this recipe, we will see how to build and deploy a Java application using NetBeans IDE.
Create a simple Java application or use the feedback application we have just created. Here I have used the same to create a distributable.
Let's start with creating the project build first. There are two ways to do it:
This will create the distributable for your project consisting of the
dist folder that has an executable
JAR file to run your project. If you have used any libraries or JAR files in your project, it will also create a
lib folder inside the