CHAPTER 1

image

Hello World

Installing

Before you can program in Java you need to download and install the Java Development Kit (JDK) Standard Edition (SE) from Oracle’s website.1  Among other things, the JDK includes the Java compiler, the class libraries and the virtual machine needed to run Java applications. Oracle’s download page also has a link to obtain Netbeans2 bundled with the JDK. Netbeans is an Integrated Development Environment (IDE) that will make development in Java much easier. Alternatively, another free IDE you can use is Eclipse,3 or if you do not want to use any IDE at all a regular text editor will work just fine.

Creating a project ...

Get Java Quick Syntax Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.