How to Make a HelloWorld Application in Java Netbeans

About: I make stuff sometimes

Intro: How to Make a HelloWorld Application in Java Netbeans

In this tutorial I will show you how to make a simple HelloWorld application using a program called java netbeans, this takes little time and is quite easy. I also have a website now! Check it out here: homebrewbundle.com

Step 1: Downloading

If you haven't yet, you will need to download and install the latest version of Java Netbeans. If you have you can skip this step. Click to run it and save it somewhere safe, like your installs folder.

Step 2: Getting Started

Open it up and create a new project and name it HelloWorld. We will use the rest of the default settings..

Step 3: Coding

Once it opens click underneath where it says public static void main(String[] args)  { click on the end of the notes, (the text in green)  hit return and type: System.out.println("Hello World!"); It is very important that you type this exactly, you can even copy and paste it if you want to.

Step 4: Explanation

So basically what we just did was tell the system to print out "Hello World!" the ln after print is what keeps the text on separate lines, try taking out the ln and see what I mean. If you haven't yet, run your application and watch the magic unfold before your eyes. You can change the text "hello world!" to something else like "I love pancakes!" or "Go instructables! Really anything you want you can type there, I hope you liked this instructable and will check out my others, please leave a comment and tell me what you think! bye!

Share

    Recommendations

    • Furniture Contest 2018

      Furniture Contest 2018
    • Tiny Home Contest

      Tiny Home Contest
    • Metalworking Contest

      Metalworking Contest

    Discussions