Java on Unix
Java (1.5.0) - A Object-Oriented programming language developed at Sun Microsystem in 1991. With Java you can write programs that run on the Internet.

To create and run a Java program:

  1. Using a normal plain text editor to create a Java program. For example, we can create a simple Java program called class HelloWorld { public static void main (String args[]) { System.out.println("Hello World!"); } } Note that the Java program has to have the extension .java.
  2. Compiling the Java program by typing % javac This will create a file HelloWorld.class (called bytcode which is a machine independent instructions)
  3. Using the Java interpreter to interpret the Java bytcode: % java HelloWorld If the above simple example program typed and compiled correctly, we should get following print out on our screen. Hello World!

To run the NetBeans IDE (Integrated Development Environment)

% nb-ide

The is extensive help documentation within the IDE.

Online Documentation

A summary of new features for 1.5.

The JDK documentation is available.

You can also read Java Online Tutorial. For those users who know the basics and want learn more about the java class library may look at Java Core API Specification.