There's a waterfall of the tobe used JDK on i ,which is defined by code,
if there's no JAVA_HOME defined. You can check the info-center for the
waterfall list. The only way you can change it is to set JAVA_HOME
environment. IBM i JDK read this env to choose the JDK tobe used in this
job. If the defined JDK by JAVA_HOME is not installed on the system, error
would be thrown.

Best regards.
Gavin, Zhang Gan --
IBM i J9 Team Lead,
Email: zhanggan@xxxxxxxxxx
Phone: +86-10-82452719
Address: 1/F, 28, ZhongGuanCun Software Park, No.8 Dong Bei Wang West
Road, Haidian District, Beijing P.R.China 100193
J9 on i:

----- Original message -----
From: Rob Berendt <rob@xxxxxxxxx>
Sent by: "JAVA400-L" <java400-l-bounces@xxxxxxxxxxxx>
To: JAVA400-L@xxxxxxxxxxxx
Subject: Determining default JDK
Date: Fri, Feb 26, 2016 2:20 AM

I'm trying to determine how to set the default JDK.
I've read the following:

So I see that I can set a JAVA_HOME variable. I'm not sure if the
product reads that. I've asked the vendor a question and I've heard
nothing back on that.
I also read
and it talks about an order of precedence.

I was wondering if there's some third option. Like some directory that
things check before any of these? Like I may have the following
all in /QOpenSys/QIBM/ProdData/JavaVM
I was wondering if there's some 'default' directory that uses a symbolic
link or some such thing to point to whichever of the above you want.

Rob Berendt
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755

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


Visible links

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-2021 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.