62 lines
4.1 KiB
HTML
62 lines
4.1 KiB
HTML
|
<?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="Release-to-release compatibility" />
|
||
|
<meta name="abstract" content="Java class files are upward compatible (JDK 1.1.x to 1.2.x to 1.3.x to 1.4.x to 1.5.x) as long as they do not make use of a feature for which Sun has dropped or changed support." />
|
||
|
<meta name="description" content="Java class files are upward compatible (JDK 1.1.x to 1.2.x to 1.3.x to 1.4.x to 1.5.x) as long as they do not make use of a feature for which Sun has dropped or changed support." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="whatitis.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="rtrcomp" />
|
||
|
<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>Release-to-release compatibility</title>
|
||
|
</head>
|
||
|
<body id="rtrcomp"><a name="rtrcomp"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Release-to-release compatibility</h1>
|
||
|
<div><p>Java™ class files are upward compatible (JDK 1.1.x to
|
||
|
1.2.x to 1.3.x to 1.4.x to 1.5.x) as long as they do not make use of a feature
|
||
|
for which Sun has dropped or changed support.</p>
|
||
|
<p>See <a href="http://www.java.sun.com/" target="_blank">The
|
||
|
Source for Java Technology java.sun.com</a> for information
|
||
|
on release-to-release availability.</p>
|
||
|
<p>When Java programs on an iSeries™ server are optimized using <a href="../cl/crtjvapgm.htm" target="_blank">Create Java Program
|
||
|
(CRTJVAPGM) command</a>, a Java Program (JVAPGM) is attached to the
|
||
|
class file. The internal structure of these JVAPGMs changed on V4R4. This
|
||
|
means that JVAPGMs created before V4R4 are not valid on V4R4 and later releases.
|
||
|
You must recreate the JVAPGMs or the system automatically creates a JVAPGM
|
||
|
at the same optimization level as before. It is, however, recommended that
|
||
|
you manually perform a CRTJVAPGM, especially with JAR or ZIP files. This produces
|
||
|
the best optimization with the smallest program size.</p>
|
||
|
<p>For best performance at optimization level 40, it is recommended to preform
|
||
|
CRTJVAPGM on each <span class="keyword">i5/OS™</span> release
|
||
|
or JDK version change. This is especially true if the JDKVER facility is used
|
||
|
on CRTJVAPGM, as this results in methods from the Sun JDK being inlined into
|
||
|
your JVAPGM. This can be a great advantage to performance. If, however, changes
|
||
|
are made in the JDK on subsequent releases that invalidate those inlines,
|
||
|
the programs may actually run slower than at lower optimizations. This is
|
||
|
because special case code must be run to get proper operation.</p>
|
||
|
<p>See <a href="runtperf.htm">Java runtime performance</a> for more
|
||
|
detailed performance information.</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="whatitis.htm" title="Java compatibleIBM Developer Kit for Java is optimized for use in an iSeries server environment. It uses the compatibility of Java programming and user interfaces, so you can develop your own applications for the iSeries server.">IBM Developer Kit for Java</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|