What release of java are you trying to run?
Maybe you are getting the old TCP/IP problem.
Can you ping the ip address of the lpar?
Are unix commands under OMVS working properly?


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Bonno, Tuco
Sent: Friday, February 06, 2015 2:24 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: NO response to "java -version"

thanks, but that didn't help ....  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Skeldum, William
Sent: Friday, 06 February, 2015 14:20
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: NO response to "java -version"

Try putting a ./ in front of the command to tell it to look in the current 
directory:

$ cd /usr/lpp/java/J7.0/bin

$ java -cp . -version

java: FSUM7351 not found

$ ./java -cp . -version

java version "1.7.0"

Java(TM) SE Runtime Environment (build pmz3170sr6fp1-20140108_01(SR6 FP1))

IBM J9 VM (build 2.6, JRE 1.7.0 z/OS s390-31 20140106_181350 (JIT enabled, AOT 
enabled)

J9VM - R26_Java726_SR6_20140106_1601_B181350

JIT  - r11.b05_20131003_47443.02

GC   - R26_Java726_SR6_20140106_1601_B181350

J9CL - 20140106_181350)

JCL - 20140103_01 based on Oracle 7u51-b11

$



Although if the path is indeed in your path statement you shouldn’t need the ./ 
at the beginning.

Bill

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Barkow, Eileen
Sent: Friday, February 06, 2015 11:58 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: NO response to "java -version"



I  had this problem a while ago with an older version of java that was going 
out to TCP/IP when trying to get the version number.

There was something wrong with TCP/IP on the sysprog test lpar at the time and 
it looked like java was hanging.

But newer releases of java did away with the TCP/IP access.



-----Original Message-----

From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Bonno, Tuco

Sent: Friday, February 06, 2015 1:53 PM

To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>

Subject: NO response to "java -version"



cross-posting to ibm-main, mvs-oe

i'm in z/os 1.13



located in  /usr/lpp/java/bin

when i issue  "ls –la"

i can see that the executable "java" is there



when i issue a "printenv PATH" i get this:

.:bin:/usr/lpp/java/bin:/usr/sbin:/



again located in /usr/lpp/java/bin

at the prompt i issue

(the fully qualifed path name is on purpose here):

/usr/lpp/java/bin/java  java –version

and i never get any meaningful response i.e, i never get the " ... java(tm) SE 
runtime environment blah blah blah" stuff in stead, brhc of the screen shows 
"running" and then "input" and then ....

nothing; just sits there forever in input mode



i've even tried this

/usr/lpp/java/bin/java  java –cp .  –version with no different outcome



what's wrong here?



thanks in advance

/s/ tuco bonno;

graduate, college of conflict management; University of Southeast Asia; "I 
partied on the Ho Chi Minh trail; tiến lên !! "



----------------------------------------------------------------------

For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: 
INFO IBM-MAIN



----------------------------------------------------------------------

For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: 
INFO IBM-MAIN

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above. If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited. If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to