SCRT job failed with U4038 abend
search cancel

SCRT job failed with U4038 abend

book

Article ID: 409184

calendar_today

Updated On:

Products

Common Components and Services for z/OS

Issue/Introduction

Upgrading from Java 8.0  to Java 17.0, in the SCRT job, procedure JVMPRC80 was replaced by JVMPRC17 but the job failed with U4038 abend. In the joblog there is the error message: 

CEE3501S The module libjvm.so was not found.

Environment

JAVA 17

Resolution

In STDENV, the LIBPATH and CLASSPATH must be changed from:

LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/bin
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390x
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390x/j9vm
LIBPATH="$LIBPATH":"${JAVA_HOME}"/bin/classic
export LIBPATH

CLASSPATH="${JAVA_HOME}"/lib:"${JAVA_HOME}"/lib/ext

to:

LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/bin
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib
LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/j9vm
export LIBPATH

CLASSPATH="${JAVA_HOME}"/lib