Setting the JAVA_HOME variable for Liberty collective members and controllers

All Liberty collective members must have a Java™ Runtime Environment (JRE) installed that meets the minimum requirements of the Liberty server. After a JRE is installed on the host computer, you can set the JAVA_HOME variable so that the Liberty operation can locate the JRE.

About this task

In order for the collective controller to perform remote operations on Windows members such as starting or stopping a member server, the collective controller must run with an IBM® JRE. Third-party JREs do not contain the required security classes. You can get a JRE that supports Liberty products and SSL from Installation Manager offerings or developerWorks®:
  • Using Installation Manager, select the Liberty product first and then select the IBM SDK for Liberty. Use Installation Manager to install the Liberty product and software development kit (SDK). The IBM SDK includes the needed support for Liberty products and SSL and offers a Java client, JConsole. For more information about installing the IBM SDK, see Installing, updating, and uninstalling IBM SDK, Java Technology Edition.
  • Go to http://www.ibm.com/developerworks/java/jdk/index.html on the developerWorks website and download an IBM Java development kit (JDK) for your operating system. The developerWorks website does not have a JRE for all operating systems. For example, for Windows operating systems, get the JDK from Eclipse.

You can set the JAVA_HOME variable in operating system settings or at a command line. Setting set the JAVA_HOME variable enables remote operations to locate the JRE.

Procedure


Icon that indicates the type of topic Task topic

File name: twlp_java_reqs.html