IBM Support

Deployment of web services requires Java 8 or higher JRE

Flashes (Alerts)


Abstract

Starting November 2021, integrated web services PTFs will produce Java code that requires the IWS server to be using the Java 8 or higher Java Runtime Environment (JRE).

Content

You are in: IBM i Technology Updates > Welcome to IBM Integrated Web Services for i Technology Updates >  Deployment of web services requires Java 8 or higher JRE

What is it?

Starting November 2021, integrated web services PTFs produce Java code that requires the IWS server to be using the Java 8 or higher Java Runtime Environment (JRE).
The primary reasons for this decision include:
  • To fix a problem when dealing with time and timestamp data types. The problem can only be fixed using the java.time classes introduced in Java 8.
  • To enable the integrated web service server to use the latest web services engine. This will allow the introduction of new features and performance enhancements in the IWS server.
  • To pick up Java fixes relating to security. 
The default Java runtime for IBM i 7.4 is Java 8. To get the Java 8 JRE (5770JV1 Option 17 - JDK 8.0 64bit) in previous releases, please see the following support document: https://www.ibm.com/support/pages/support-java-development-kit-jdk-80-ibm-i-os.
After installing Java 8 on your system, you will need to ensure that the JRE for the IWS server is set to use the Java 8 runtime.  You can do this by navigating to the IWS server from the Web Administration GUI and selecting Server Properties --> Properties. Then select the JRE tab and ensure that the Java home field is set to the path of the Java 8 JRE. Optionally, you can also update the Java options so that the -Djava.ext.dirs property points to the correct extension directory (IWS will handle if you do not).

Why use it?

Starting November 2021, if you load and apply any IWS PTFs, you will get deployment failures if you try to deploy or redeploy web services without having a Java 8 or higher JRE installed on the system. In addition, if the IWS server is configured to use Java 7, you will get a runtime failure.
Note that in order to run IWS Qshell scripts successfully,  Java 8 64 bit (5770JV1 Option 17 - JDK 8.0 64bit) must be installed.

 

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"HW1A1","label":"IBM Power Systems"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
28 November 2021

UID

ibm16510108