Do you need to set the JAVA_HOME environment variable to point to the JVM?

On 31/03/2016 7:16 AM, Janet Graff wrote:
Frank,

That was magnificent and got me past my problem.

Unfortunately I now get "Unable to Launch JVM -6 ".

Which I believe is JNI_EINVAL which I believe means the JVM isn't running.

I've been googling around and I haven't found how to tell if the JVM is running 
on z/OS.  When I installed Rational Developer I made sure that RSED and some 
other job was running but clearly I missed the JVM itself?

Can someone point me to the z/OS JVM manual?

Janet

I think you need a LIBPATH environment variable to point to it
I got the following from the Enterprise COBOL manual:
http://www.ibm.com/support/knowledgecenter/SS6SG3_4.2.0/com.ibm.entcobol.doc_4.2/PGandLR/ref/rpooo10e.htm
http://www.ibm.com/support/knowledgecenter/SS6SG3_4.2.0/com.ibm.entcobol.doc_4.2/PGandLR/tasks/tpooo08.htm
//RUN EXEC PGM=CALLJAVA,REGION=0M,COND=(4,LT),
// PARM='ENVAR("_CEE_ENVFILE=/u/userid/javaenv") POSIX(ON)/'
//STEPLIB DD DISP=SHR,DSN=JIG.BASE710.LOAD
// DD DISP=SHR,DSN=CEE.SCEERUN
// DD DISP=SHR,DSN=CEE.SCEERUN2
/u/userid/javaenv would be a Unix file with something like the following:
PATH=/bin:/u/Java6_31/J6.0/bin
LIBPATH=/lib:/usr/lib:/u/Java6_31/J6.0/bin:/u/Java6_31/J6.0/bin/j9vm
CLASSPATH=/u/userid/[something]
Note that I added SCEERUN2 to your STEPLIB.  Not sure if it's necessary, but 
its in the example.
Looks like you may also need to have DD's named JAVAIN, JAVAOUT and JAVAERR, as 
detailed in the second link above.
----------------------------------------------------------------------
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