Getting Started with Java Programming for Windows Users

Installation of Java

Setting up the Environment

Writing Your First Java Program

public class Hello
{
  public static void main (String[] args)
  {
    System.out.println ("Hello World!");
  }
}

Running Your First Program

Getting Started with Java Programming for Mac Users

The good news is that you can skip the installation of Java and setting up the environment if you have Mac OS 10.4 or later. The bad news is that if you have Mac OS 10.3 you have to upgrade to Mac OS 10.4!

Writing Your First Java Program

public class Hello
{
  public static void main (String[] args)
  {
    System.out.println ("Hello World!");
  }
}

Running Your First Program