You really do not need the PATH statements. Just cd to the java bin directory 
and run :
java  -cp . -version   (or java -cp . javaclass - cp classpath has to point to 
correct directories needed for
java class to run; . specifies current directory).

 cd /usr/lpp/java/J6.0.1/bin 
java -cp . -version

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Mark Steely
Sent: Friday, January 30, 2015 4:02 PM
To: [email protected]
Subject: Re: Where is the z/OS java Book?

I received the same FSUM not found message. Check you /etc/profile for PATH= 
parms. Mine was setup incorrectly ( just a typing mistake). After I fixed that 
the command worked. 

This is what I have:

PATH=$PATH:/usr/lpp/NFS:/usr/sbin:/usr/lpp/java/J6.0.1/bin         
PATH=$PATH:/usr/lpp/java/IBM/J1.4/bin                              
PATH=$PATH:/usr/lpp/java/TIBCO/bin:/projects/cas/bin:/usr/dirxml   
export  PATH

Hope that helps. 

Thanks                                                        


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Hansen, Dave L - Eagan, MN
Sent: Friday, January 30, 2015 2:33 PM
To: [email protected]
Subject: Re: Where is the z/OS java Book?

Kevin,

   I was hoping that java for z/OS had an IVP procedure documented in the 
Program Directory for HVJB700 (GI11-9829-00).  I didn't see anything to even 
something to check the java version.

   I looked for a java samplib but didn't find anything.  I see in the program 
directory there are Sample Jobs.  AJVJMKD (MKDIR) is a sample job to invoke the 
supplied AJVJMKDR EXEC to allocate file system paths.

   I don't know if I have access to these Sample Jobs.  It looks like they may 
have copied the jobs from the relfiles to a work data set for editing and 
submission.

   I was just curious what I needed to do for my OMVS session to take full 
advantage of java.  I didn't see a "HELLO" program to run.  My main concern is 
getting java and CICS TS Web Services to work together.  As part of this we 
looked into what was going on in OMVS as far a java goes.


      Have a good weekend,  Dave 



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Neubert, Kevin
Sent: Friday, January 30, 2015 12:59 PM
To: [email protected]
Subject: Re: Where is the z/OS java Book?

I am not clear about your path question.  Are you installing another version 
and/or questioning things like symlinks, etc?  

During install there is a REXX member in SAMPLIB that assists with this.  
Guessing you are HJVB700.  If so, take a look at SAJVSMP1(AJVJMKDR).

Regards,

Kevin

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Hansen, Dave L - Eagan, MN
Sent: Friday, January 30, 2015 6:47 AM
To: [email protected]
Subject: Where is the z/OS java Book?

Dear Group,

   I recently worked with IBM on some java issues that dealt with our z/OS 
V1R13 system.  One thing they wanted me to do was enter "java -version" from 
our USS command line,  I got the old FSUM not found.  I looked in the USS Guide 
and USS Planning and there is hardly a reference to java.  So, if I can't plan 
for java and can't be guided through it I must be lost.  I learned the correct 
Filesystem(s) must be mounted, I can see my java/J7.0_64 is populated.

Q).   Is there some information that goes over the pathing changes for 
java/J7.0_64 support in OMVS?


      Thank you,  Dave

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN


******* CONFIDENTIALITY NOTICE *******This e-mail message and all attachments 
transmitted with it may contain legally privileged and confidential information 
intended solely for the use of the addressee. If the reader of this message is 
not the intended recipient, you are hereby notified that any reading, 
dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited. If you have received this message in error, 
please notify the sender immediately and delete this message from your system. 
Thank you.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to