ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/sysprop.htm

80 lines
5.1 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Java system properties" />
<meta name="abstract" content="Java system properties determine the environment in which you run your Java programs. They are similar to system values or environment variables in i5/OS." />
<meta name="description" content="Java system properties determine the environment in which you run your Java programs. They are similar to system values or environment variables in i5/OS." />
<meta name="DC.Relation" scheme="URI" content="config.htm" />
<meta name="DC.Relation" scheme="URI" content="classpth.htm" />
<meta name="DC.Relation" scheme="URI" content="international.htm" />
<meta name="DC.Relation" scheme="URI" content="sdpropf.htm" />
<meta name="DC.Relation" scheme="URI" content="sysprop2.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="sysprop" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Java system properties</title>
</head>
<body id="sysprop"><a name="sysprop"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Java system properties</h1>
<div><p>Java™ system properties determine the environment in
which you run your Java programs. They are similar to system
values or environment variables in <span class="keyword">i5/OS™</span>.</p>
<p>Starting an instance of a Java virtual machine (JVM) sets the values
for the system properties that affect that JVM.</p>
<p>You can choose to use the default values for Java system properties or you can specify
values for them by using the following methods:</p>
<ul><li>Adding parameters to the command line (or the Java Native Interface (JNI) invocation API)
when you start the Java program</li>
<li>Using the QIBM_JAVA_PROPERTIES_FILE job-level environment variable to
point to a specific properties file. For example: <pre> ADDENVVAR ENVVAR(QIBM_JAVA_PROPERTIES_FILE)
VALUE(/qibm/userdata/java400/mySystem.properties)</pre>
</li>
<li>Creating a SystemDefault.properties file that you create in your user.home
directory</li>
<li>Using the /qibm/userdata/java400/SystemDefault.properties file</li>
</ul>
<p><span class="keyword">i5/OS</span> and the JVM determine
the values for Java system properties by using the following order
of precedence:</p>
<ol><li>Command line or JNI invocation API</li>
<li>QIBM_JAVA_PROPERTIES_FILE environment variable</li>
<li>user.home SystemDefault.properties file</li>
<li>/QIBM/UserData/Java400/SystemDefault.properties</li>
<li>Default system property values</li>
</ol>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="sdpropf.htm">SystemDefault.properties file</a></strong><br />
The SystemDefault.properties file is a standard Java properties
file that enables you to specify default properties of your Java environment. </li>
<li class="ulchildlink"><strong><a href="sysprop2.htm">List of Java system properties</a></strong><br />
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="config.htm" title="After you install the IBM Developer Kit for Java on your iSeries server, you can customize your server.">Customize your iSeries server for the IBM Developer Kit for Java</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="classpth.htm" title="The Java(TM) virtual machine uses the Java classpath to find classes during runtime. Java commands and tools also use the classpath to locate classes. The default system classpath, the CLASSPATH environment variable, and the classpath command parameter all determine what directories are searched when looking for a particular class.">Java classpath</a></div>
<div><a href="international.htm" title="You can customize your Java programs for a specific region of the world by creating internationalized Java program. By using time zones, locales, and character encoding, you can ensure that your Java program reflects the correct time, place, and language.">Internationalization</a></div>
</div>
</div>
</body>
</html>