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.
Gavin, Zhang Gan --
IBM i J9 Team Lead,
Address: 1/F, 28, ZhongGuanCun Software Park, No.8 Dong Bei Wang West
Road, Haidian District, Beijing P.R.China 100193
J9 on i: http://www.ibm.com/developerworks/ibmi/techupdates/java
----- Original message -----
From: Rob Berendt <rob@xxxxxxxxx>
Sent by: "JAVA400-L" <java400-l-bounces@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.
IBM Certified System Administrator - IBM i 6.1
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
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,
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.