Thank you Alex,
I'd rather set it as the default than on a per user basis right now...
But I will try this:
under /home/user/ there is only one user "QIBMHELP"... the int app
server runs under user id "QLWISVR" so I created that folder, and added
the properties file and restarted.
The properties under HTTPAdmin for the app server still shows "JVM
version:1.5" instead of 1.6...
So... I also found this file (which I reached with
WRKLNK): /QIBM/ProdData/OS/OSGi/LWISysInst/admin2/conf/
Found the line:
and changed to
Restarted the app server with HTTPAdmin and still it shows 1.5 !!!

So now I have:
with string: engine.javaVersion=1.6
/home/user/QLWISVR/ with string:
/QIBM/UserData/Java400/ with string:

Maybe I'm not restarting it correctly?

On Wed, 2010-09-22 at 13:30 -0400, Alex Pinsky wrote:

Place file in /home/user name who starts the server/ folder

That will override default settings at server startup time.

Alex Pinskiy
Aeropostale, Inc

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken
Sent: Wednesday, September 22, 2010 1:16 PM
To: Java Programming on and around the IBM i
Subject: Re: How to Set Java Version

I've set up an "App server" using HTTPAdmin. The sub system for the app server is QHTTPSVR.
I did create the file /QIBM/UserData/Java400/
with java.version=1.6 and restarted the app server but that did not change the version.

On Wed, 2010-09-22 at 10:57 -0600, Ken wrote:

Very basic question, how do I set the version of Java running by
default on an iSeries v6r1.

Most of the documentation I find talks about a
file but it is not at the specified location
â/QIBM/UserData/Java400/ , do I simply create
the file?

This document:
Mentions a STRJSM command but that does not run.

I have verified that at least Java 1.5 and Java 1.6 are on the system
but Java 1.5 is currently the default and I need 1.6 instead.

This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at


CONFIDENTIALITY NOTE: The information contained in this email or fax is intended
only for the use of the individual or entity to whom it is addressed. If you are not
the intended recipient, you are hereby notified that any disclosure, copying,
distribution, printing or other use of, or any action taken in reliance upon, the
contents of this email or fax and the information contained therein is strictly prohibited.
Before opening or using attachments, check them for viruses and defects. Our liability
to you for viruses or defects associated with any email or fax is strictly limited to resupplying
any affected attachments. If you have received this communication in error, please immediately
notify the sender by telephone at (646) 264-6217 and delete the original message.
Thank you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.