This usually mean there's something wrong in java env. What we did in lab
is as following . Wish this could do help to figure out the root cause.
login 5250.
CHGJOB LOG(4 00 *SECLVL)
QSH
java -version ----> without any output here
F3 ----> quit current job/shell
WRKSPLF ----> Usually the second last item on your list is the one
for the "java" job. It usually give you some insight.
Best regards.
____________________________________________________________________________________________
Gavin, Zhang Gan --
https://w3-connections.ibm.com/profiles/html/profileView.do?key=d77158d7-c5cd-4e6e-a90d-23dddc9cbaba&lang=en
IBM i J9 Team Lead,
Email: zhanggan@xxxxxxxxxx
Phone: +86-10-82452719
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: Pete Helgren <pete@xxxxxxxxxx>
Sent by: "JAVA400-L" <java400-l-bounces@xxxxxxxxxxxx>
To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx>
Cc:
Subject: No Java in PASE
Date: Wed, Oct 19, 2016 6:14 AM
May have to cross post to OSS...here is the deal:
I have the /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/bin on my PATH
along with /QOpenSys/usr/bin and /usr/bin When I use either QP2TERM OR
SSH using something like puTTY, and type this:
java -version
I get nothing. Nada.....zippo. No response. No error. It just
returns.
Trying /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/bin/java -version ALSO
returns nothing. I know Java is installed. I have multiple java
dependent jobs running (some are submitted shell scripts) So I can't
quite figure out why at the command line I am getting nothing....ON BOTH
my partitions (7.1 and 7.2 - whatever I broke I was consistent...)
$ ls -l /usr/bin/java
lrwxrwxrwx 1 qsys 0 62 Jan 23 2015 /usr/bin/java
-> /QIBM/ProdData/Java400/bin/java
$ ls -l /QOpenSys/usr/bin/java
lrwxrwxrwx 1 qsys 0 78 Oct 26 2008
/QOpenSys/usr/bin/java -> ../../QIBM/ProdData/OS400/PASE/bin/java
Anyone bump into this before? Kind of weird...
--
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: [1]
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 [2]
http://archive.midrange.com/java400-l.
References
Visible links
1.
http://lists.midrange.com/mailman/listinfo/java400-l
2.
http://archive.midrange.com/java400-l
As an Amazon Associate we earn from qualifying purchases.