Be aware there are a couple of virus's going around that are attacking the
IFS via shares on the desktop. In the last two weeks I've had two customers
get hit with it. It will optionally rename files or change symbolic links.
One customer had a share on the root with no security on it and it renamed
almost the entire IFS. (long night to fix enough of it to get the system
running again)
I don't know (and kind of doubt) if your situation fits it but that symbolic
link made me think of it.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete
Helgren
Sent: Wednesday, July 20, 2016 5:18 PM
To: Java Programming on and around the IBM i
Subject: QIBM/ProdData/OS400/Java400/ext used in symbolic link for Java
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?
--
Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
LinkedIn - www.linkedin.com/in/petehelgren Twitter - Sys_i_Geek IBM_i_Geek
--
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.