tried that too; didn't help ...
cd to java/bin directory and enter: ./java -cp . -version Your CLASSPATH may not be set. -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bonno, Tuco Sent: Friday, February 06, 2015 2:43 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: NO response to "java -version" yeah, that's what i'm concluding -- but i'd like to know what's wrong w/ this one lest i do the same wrong thing when i install the 64-bit version .... thanks -fullversion does NOT give all the info that -version does, in spite of the name. There is something wrong with your java or system. Try getting the 64 bit version and install it without SMPE. -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bonno, Tuco Sent: Friday, February 06, 2015 2:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: NO response to "java -version" well i be darned --- the "java -fullversion" does give me a one-line response; but isn't there supposed to be more? i could swear that several years ago when i did the "java -version" you got back 7, 8 lines of stuff ( don't have the 64-bit version ) When I had the TCP/IP problem I could not ping the lpar ip address. Go to ISPF option 1.6 and enter ping LPAR.IP.ADDR But that was for an old release of java (maybe 1.4 or 1.5). it no longer goes out to TCP/IP. Also, try java -fullversion That might work even if -verion does not but does not give all the info.. Also try 64 bit version of java if running 32 bit and vice verse. -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bonno, Tuco Sent: Friday, February 06, 2015 2:30 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: NO response to "java -version" What release of java are you trying to run? >>>>> this is java 1.6.0 Maybe you are getting the old TCP/IP problem. Can you ping the ip address of the lpar? >>>>>> i am within the lpar itself .... or maybe i don't understand the >>>>>> question (sorry not trying to be smart or give you a hard time .... Are unix commands under OMVS working properly? >>>>> all other OMVS commands work quite fine thanks -----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 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN