Installing the Java software

The runtime code of the InterChange Server system runs using the Java software.

The Java Runtime Environment (JRE) includes the Java Virtual Machine (JVM), which is needed to run InterChange Server. It does not include development tools, however, such as Javac (the Java compiler). If you have a requirement to compile maps or collaborations as part of the implementation then you must install the Java Development Kit (JDK).

The JDK contains the runtime component (JRE) and the development tools (such as the Java compiler). You need the Java compiler to be able to create custom collaborations or maps.

Version 1.4.2 of the JDK is supplied on the product CD in the directory /JDK.

Perform the following steps to install the JDK on your system:

  1. Follow the appropriate instructions below to install the JDK depending on your operating system:
  2. Create a symbolic link in the /usr/bin directory to the JDK product directory:
    1. Issue the following command to remove any existing symbolic link:
      rm /usr/java
      
    2. ln -s /JDK_product_directory/usr/java

      where /JDK_product_directory is the directory in which you installed the JDK. The default installation locations for the JDK on the different platforms are listed in Table 9.

  3. After the installation, make sure the bin directory of the JDK installation is included in the PATH environment variable.

    You can do this in either of the following ways:

Copyright IBM Corp. 1997, 2004