IBM Support

How To Override "java.ext.dirs" for the IBM Technology for Java VM

Troubleshooting


Problem

This document describes how to override the java.ext.dirs property for IBM Technology for Java JVMs.

Resolving The Problem

There are many ways to override JVM properties; however, this document will focus on using a SystemDefault.properties file for one particular user profile.

1.

Type STRQSH on the operating system command line.
2.Type cd /home/<userId>
3.To create your custom SystemDefault.properties file, type touch -C 819 SystemDefault.properties (Note the CCSID of this file must be 819 which is ASCII because IBM Technology for Java JVMs read only ASCII).
4.Type echo 'java.ext.dirs=/home/<userId>/extOverride' >> SystemDefault.properties

Once this file is in place, verify that the override worked by signing into QSHELL and doing the following:
a. Type export JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit
b. Type java QPropDump
c. Page up and look for the java.ext.dirs property. For this example, it should show java.ext.dirs=/home/<userId>/extOverride which was set in the SystemDefault.properties file.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

558018898

Document Information

Modified date:
18 December 2019

UID

nas8N1012330