Java Programming

Introduction > Setting up a Java workstation

A good Java workstation should consist of a computer with at least a 266 megahertz processor and 128 Mb of Random Access Memory (RAM). Although this tutorial will be using Microsoft Windows 2000, it is possible to run Java on all versions of Windows (95 and greater), Linux and Solaris.

Side NoteSide Note

I mentionned above that it is possible to run Java on all versions of Windows (95 or greater), Linux and Solaris. It may appear that Java is not as multi platformed as claimed, since 3 operating systems is not much. These are simply the only operating systems supported directly by Sun Microsystems. Many versions of Java exist for other operating systems, such as Macintosh, BeOS, but they are not maintained by Sun. They are only based on Sun's Java specification which is a set of rules governing all ports of Java.

Java for other platforms:
Mac OS Runtime for Java

As mentioned in the first page of this guide, all you truly need to program in Java is the Java Development Kit (JDK) which is a combination of the Java Runtime Environment (the part that runs your Java application) and the Java Compiler (the part that compiles your code into java byte code).

It is however recommended that you install a visual environment in which to work, since this will dramatically increase your productivity by reducing the time it takes to compile and run your Java application. Although many different Java visual programming environments exist, for this tutorial we will be using WebGain's VisualCafé 4, since it is currently the easiest and most popular development environment for Windows.

The most popular Java development environments in use today are the following:

For this tutorial, it is recommended that you install both the JDK 1.3 and VisualCafé 4, since it is important, as a respectable programmer, to know how to use both the basic JDK and a productivity enhancing development environment. If you are not using Microsoft Windows, I would suggest you install Sun Forte for Java Community Edition as your IDE of choice.

The JDK 1.3, the most recent version as of the writing of this guide, may be downloaded directly from Sun Microsystems. WebGain VisualCafé 4 Standard Edition may be downloaded for free from WebGain, after filling out their online download form.

Once you have installed both the JDK and VisualCafé, your are ready to start programming in Java like a true professional.

Next:
Running your first application with the JDK