
The IDE invokes the Java programming language compiler (javac), which takes your source file and translates its text into instructions that the Java virtual machine can understand. You will then modify the source file to add the "Hello World!" message.Ĭompile the source file into a. As part of creating an IDE project, a skeleton source file will be automatically generated. You can build or run your application by choosing a single menu item within the IDE.Ī source file contains code, written in the Java programming language, that you and other programmers can understand.


Using IDE projects eliminates configuration issues normally associated with developing on the command line. When you create an IDE project, you create an environment in which to build and run your applications. Your first application, HelloWorldApp, will simply display the greeting "Hello World!" To create this program, you will:

The NetBeans IDE runs on the Java platform, which means that you can use it with any operating system for which there is a JDK available. It's time to write your first application! These detailed instructions are for users of the NetBeans IDE.
