Checking that a Java instance is present on each server

Java™ Runtime Environment must be available on each server that is used by IBM® Insights Foundation for Energy.

About this task

You must check that Java Runtime Environment is available for each of the servers used by IBM Insights Foundation for Energy.

The nodes are:
  • DB node - data node
  • ANA node - Predictive Analytics node
  • IIB node - Integration Bus node
  • BI node - Business Intelligence node

Procedure

  1. Make sure that Java Runtime is available. On each node, type the command to check that Java Runtime Environment is available:
    ls /usr/bin | grep java
    If present, the command returns the version of Java Runtime Environment that is on the server, if the /usr/bin/java doesn't work the installation will fail. If Java Runtime Environment is not present, then do these steps.
  2. On the DB node, type in the command:
    ln -s /opt/ibm/db2/V10.5/java/jdk64/jre/bin/java
    /usr/bin/java
    Note: /opt/ibm/db2/V10.5 is the default install path. Change the path to the actual path used if different.
  3. On the ANA node, type in the command:
    ln -s 'find / -name jre_* | grep InstallationManager/eclipse'/jre/bin/java 
    /usr/bin/java
  4. On the IIB node, type in the command:
    ln -s 'find / -name jre_* | grep InstallationManager/eclipse'/jre/bin/java 
    /usr/bin/java
  5. On the BI node, type in the command:
    ln -s /opt/ibm/cognos/analytics/jre/bin/java 
    /usr/bin/java
    Note: /opt/ibm/cognos/analytics/ is the default install path. Change the path to the actual path used if different.