|
ls -S .profile819 .profile
cat .profileexport JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit
java -versionjava version "1.8.0"
cat .profileexport JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit
java -versionjava version "1.8.0"
From: rob@xxxxxxxxxRead
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 02/17/2016 10:24 AM
Subject: Re: Default Java for a user profile?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Joe,
I didn't tweet a 140 character statement. I actually tested it.
When I ran it in pase instead of qsHell it did not respect the file.
it again.
<snip>
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit
</snip>
Notice the jdk80?
<snip>
CALL QP2TERM
java -version
java version "1.7.0"
</snip>
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
http://www.dekko.com
From: Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 02/17/2016 11:16 AM
Subject: Re: Default Java for a user profile?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Actually, I think it does, because I think under the covers you end up
in the QShell environment anyway. But if not, I bet you can specify the
JAVA_HOME on the PROP keyword of the JAVA (or RUNJVA) command.list
Is the .profile file only used to initialize qsHell?pap3270_27sr3fp10-20150708_01(SR3
If I fire up a JVM outside of qsHell will it honor
export -s JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit
from /home/ROB/.profile ?
I don't think so.
CALL QP2TERM
java -versionjava version "1.7.0"
Java(TM) SE Runtime Environment (build
FP10))
IBM J9 VM (build 2.7, JRE 1.7.0 OS/400 ppc-32
jvmap3270_27sr3fp10-20150708_01 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20150630_2236_B255653
JIT - tr.r13.java_20150623_94888.01
GC - R27_Java727_SR3_20150630_2236_B255653
J9CL - 20150630_255653)
JCL - 20150628_01 based on Oracle jdk7u85-b15
$
QP2TERM (pase) doesn't seem to respect the .profile file.
Rob Berendt
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
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.