Jump to: navigation, search

Migrating from Java 7 to Java 8

To upgrade Java, we recommend that you use Oracle's Java Runtime Environment (JRE) or Java Development Kit (JDK) RPM packages. The RPM packages execute all necessary actions to install, configure Java, and update the operating system (OS) configuration. Web Services and Applications uses the default Java that is configured on the node, so if Java is updated using a Java RPM package, no additional configuration is necessary.

In some cases, it might not possible to update the default Java on the node. Complications with other applications or circumstances might prevent a successful update. In this case, you can configure Web Services and Applications to use a specific Java version. Use the JAVA variable in /etc/default/gws file, for example:

# JAVA
#   defines the Java that have to be used if several versions are installed on the host.
JAVA=/usr/java/jre1.8.0_92/bin/java


This page was last edited on January 27, 2017, at 19:20.
Comments or questions about this documentation? Contact us for support!