How to Create Java Application Using Netbeans 8.2

by Didin J. on Dec 08, 2016 How to Create Java Application Using Netbeans 8.2

How to create Java Application using Netbeans 8.2 IDE with easy and simple step.

This time I will show you how to create a Java application using Netbeans 8.2 IDE (Integrated Development Environment). Using the IDE (Integrated Development Environment) makes development works easier because there's a lot of automation, suggestion, autocomplete, easy to run, etc. NetBeans is an open-source software development project with an active community of collaborating users and developers. Let starting by start your Netbeans IDE.



Create New Java Application Project

To create the new Java project just click the folder with plus sign icon toolbar.

In wizard box, choose Java and Java Application.

Click Next and fill all fields like below and leave default checkbox.

Click Finish. Now you see the project structure with main class inside myfirstjavaapplication package. Just edit your main class with adding this code:

 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
package myfirstjavaapplication;

 * @author didin
public class MyFirstJavaApplication {

     * @param args the command line arguments
    public static void main(String[] args) {
        // This is new code
        System.out.println("Hello World, this is my first java application");



Save your changes then run your application by open menu then choose Run then click Run Project or by click run icon in the toolbar.

You can see the results below your code editor. That's the first java application for today.

Thank You