|
On 05/23/2013 08:58 AM, Dan Kimmel wrote:
Extend the ADDENVVAR command with LEVEL(*SYS) to set the default for themachine.
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapis%2Funix1a.htm
From:
variables are stored in a global environment space that is persistent
System-level environment variables. The system-level environment
across IPLs and is not associated to a particular job. They can be
manipulated by using the Qp0zDltSysEnv(), Qp0zGetAllSysEnv(),
Qp0zGetSysEnv(), and Qp0zPutSysEnv() APIs, as well as the CL commands
ADDENVVAR, CHGENVVAR, RMVENVVAR, and WRKENVVAR. These variables exist until
they are deleted. There is a limit of 4095 system-level environment
variables.
java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bruce Jin
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:
Sent: Thursday, May 23, 2013 8:41 AM
To: Java Programming on and around the IBM i
Subject: Re: setting default Java version
Looks like it is by setting JAVA_HOME:
ADDENVVAR ENVVAR(JAVA_HOME)
VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk70/64bit')
That only needs to be done once, right? (i.e. not in QSTRUP?)
--
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601
--
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,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com 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.