× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hmmm... something strange going on here. My 7.1 partition seems to have

a jacked up java installation. Last time I checked I think it was OK.

Symptom is that from SSH or QP2TERM I see this when I type in java -version

bash-4.2$ java -version
/usr/bin/java: line 13: /QSYS.LIB/QJVATOOLS.PGM: Permission denied
/usr/bin/java: line 13: /QSYS.LIB/QJVATOOLS.PGM: Error 0

In qshell I get:

$
java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260_26sr8fp1-20140706_02(SR8
FP1))
IBM J9 VM (build 2.6, JRE 1.6.0 OS/400 ppc-32
jvmap3260_26sr8fp1-20140706_02
(JIT enabled, AOT enabled)
J9VM - R26_Java626_SR8_20140627_0913_B204594
JIT - r11.b06_20140409_61252.04
GC - R26_Java626_SR8_20140627_0913_B204594
J9CL - 20140627_204594)
JCL - 20140704_01

The really weird thing is that I have some programs that use Java 1.7
and they run fine but the JAVA_HOME for them is set to
JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk71/32bit

On my V7R2M0 partition, all is well:

SSH and QP2TERM show:
bash-3.00$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pap3270_27sr3fp10-20150708_01(SR3
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

And QSH shows:$
java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pap3270_27sr3fp10-20150708_01(SR3
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

Symbolic link is:

lrwxrwxrwx 1 qsys 0 62 Jan 23 2015 java ->
/QIBM/ProdData/Java400/bin/java

Anyone seen this before? Somehow the symbolic links got jacked up but I
haven't done anything recently that would have caused this (that I know
of). Better yet, how do I fix it?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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.