2 12 IBM Java System Properties

LANSA Integrator

2.12 IBM Java System Properties

The 'user.home' property is set to the JSM instance system directory. The SystemDefault.properties file located in the JSM instance system directory can be used to set Java system properties.

i5/OS and the JVM determine the values for Java system properties by using the following order of precedence:

  • Command line
  • QIBM_JAVA_PROPERTIES_FILE environment variable
  • user.home SystemDefault.properties file
  • /QIBM/UserData/Java400/SystemDefault.properties
  • Default system property values

The IBM Technology for Java JVM's read the SystemDefault.properties file like the Classic JVM's.

If the first line of the SystemDefault.properties file starts with #AllowOptions, then JVM options and System properties can be used.

 

#AllowOptions

#

#!<studio-project id="20000000-000000" name="lansa">

# ....

#!</studio-project>

#

#!<studio-project id="20080101-000000" name="CustomChanges">

#

# JVM options

#

-verbose:sizes

-Xgcpolicy:gencon

# -Xcompactexplicitgc

# -Xtgc:excessiveGC,compaction

# -Xverbosegclog:GC-%Y-%m-%d-%H%M%S.XML

# -Xcompressedrefs

#

# System properties

#

java.awt.headless=true

user.timezone=GMT+10:00

os400.dir.create.auth=none

os400.file.create.auth=none

#

#!</studio-project>

#