Print

Setting up the Java Environment on Linux

About this task

Before running the AE Services plug-in installation program, you must configure Java for the Linux server on which you are planning to install the AE Services plug-in. To configure the Java environment for your server, perform this procedure.

Procedure

  1. On the Linux server, log in as root.
  2. Edit the file/etc/profile and go to the bottom of the file.
  3. Perform one of the following steps:
    • For a Sametime 8.5.2 Community server:
      1. At the bottom of the file, add JAVA_HOME=InstallDir/ibm-jre

        where InstallDir is the Domino installation directory. The default installation directory on Linux is /opt/ibm/lotus/notes/latest/linux.

      2. Add export JAVA_HOME to the next line.

      3. Add export PATH=$JAVA_HOME/bin:$PATH to the next line.

    • For a Sametime 8.5.2 Media Manager server:
      1. At the bottom of the file, add JAVA_HOME=InstallDir/ibm-jre or InstallDir/ibm-jre/jre depending upon how Domino is installed

        where InstallDir is the Domino installation directory. There must be a bin/ subdirectory in this directory. The default installation directory on Linux is /opt/ibm/lotus/notes/latest/linux.

      2. Add export JAVA_HOME to the next line.

      3. Add export PATH=$JAVA_HOME/bin:$PATH to the next line.

  4. Log out, and then log back into the server as root.
  5. At the command line, run the command java -version.

    An IBM JRE should be displayed , for example IBM J9 VM etcetera.

    If an IBM JRE is not displayed, reboot the server to set the default path.