Install Java SE Development Kit (JDK)

On your assembly-host and engine-host(s), while logged in as root:

Download and install Java SE development kit (JDK), version 6. It may be possible to download it from one of your Linux distribution's software repositories. If so, this is usually the easiest method. On Debian-based Linux machines, for example, you can install it by entering:

# apt-get install sun-java6-jdk

If you are installing on Ubuntu 10.04 or higher, Oracle Java has been moved from the standard repository to the partner repository. Therefore you must configure your system to use the partner repository before you can enter the above command (if you have not already done so). To add the partner repository, open /etc/apt/sources.list for editing and add the following line:

deb http://archive.canonical.com/ubuntu lucid partner

Otherwise, you can download Oracle Java 6 from http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Verify that Java is correctly installed by entering:

# java -version

This should result in output something like this:

java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)