Java 11 support for OM Web Viewer 14.0
search cancel

Java 11 support for OM Web Viewer 14.0

book

Article ID: 252690

calendar_today

Updated On: 04-15-2025

Products

Output Management Web Viewer View

Issue/Introduction

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

Environment

  • Java 8,11
  • Output Management Web Viewer™ for z/OS 14.0
  • Output Management View® for z/OS 14.0

Cause

Enhancement

Resolution

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

Web Viewer 14.0 LU13570 SECURITY OR INTEGRITY PROBLEM

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.