The IBM iSeries (System i) JDK Juggle
While installing the Oracle Server Manager agent, we learned some interesting little Java tricks on the IBM iSeries. They probably work on all platforms, but I don’t know for sure and I’m not going to take the time to test. Also, these tips are for OS400 V5R4.
- How do you know which version of JDK is your systems default?
-
runjva class(*VERSION)
-
- If you have more than one JDK installed, how can you force it to run a certain version?
-
runjva class(*VERSION) prop((java.version 1.5))
-
These couple little tricks may seem pretty simple to you. However, for someone without Java experience, especially on the iSeries, they can be very helpful.
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

[...] The IBM iSeries (System i) JDK Juggle [...]
[...] Verify That A Version Of Java Is Available August 11, 2010 by stewart · Leave a CommentFiled under: IBM i/System i/iSeries/AS400, JVM, Java, Minimum Technical Requirements, STRSQH, enterpriseone Previously, I wrote about some Java commands that can be used to determine your default Java version. [...]