Setting the JAVA_HOME variable for Liberty collective members

All Liberty collective members should have a Java™ Runtime Environment (JRE) installed that meets the minimum requirements of the Liberty server.

About this task

Note: 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.

To set the JAVA_HOME variable so that the remote operation can locate the JRE, follow these instructions.

Procedure

One option for setting JAVA_HOME is to create a server.env file in the ${server.config.dir} where server.xml is residing and add JAVA_HOME there.
For example:
JAVA_HOME=/java/jre

Icon that indicates the type of topic Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-base-iseries&topic=twlp_java_reqs
File name: twlp_java_reqs.html