Java 11 support for Web Viewer 14.0
search cancel

Java 11 support for Web Viewer 14.0

book

Article ID: 252690

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

This enhancement enables Web Viewer to run on JVM 11, as well as JVM 8. It is backwards compatible.

Environment

Java 11

Java 8

Web Viewer 14.0

View 14.0

 

Cause

Enhancement

Resolution

This was published as:
    
View LU08653  WEB VIEWER: JAVA 11 SUPPORT

Web Viewer 14.0 LU08654 WEB VIEWER  JAVA 11 SUPPORT

Web Viewer requires Java 11 to have default fonts mounted in /usr/lpp/fosents/worldtype, as this path is referenced in $JAVA_HOME/lib/fontconfig.properties.src by default.

Update these Sample JCL members:


CAHVCENV - environment variables used in CAHVTOMX

  • added <JVMLDM_VERSION> parameter
  • added LIBPATH environment variable based on JVM version
  • removed java.endorsed.dirs

CAHVEDIT - editing macro

  • added <JVMLDM_VERSION> parameter


CAHVTOMX - tomcat startup script

  • added <JVMLDM_VERSION> parameter

CAHVH2SV - h2 startup script

  • added <JVMLDM_VERSION> parameter
  • added LIBPATH environment variable based on JVM version

 

Additional Information

When Web Viewer is running on JVM 11 and the user tries to export a document using OOXML, the application fails with the "Apache POI - No physical fonts found" error.

Documentation:

Java 11 changes the default locale provider and as a result, the pattern of the date format in the report export settings might differ from the Java 8 pattern, for some combinations of locale and date format.