IBM java sdk 6 for s390x and NetRexx compiler

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

IBM java sdk 6 for s390x and NetRexx compiler

Paula Duijneveld
Hi,
 
"My" RH5 Linux has a java SDK 1.5 installed as part of a DB2 package.
The NetRexx compiler 2.05 (and the 3.01RC2 version) runs OK using this SDK.
 
To avoid a dependency on someone else's DB2 package I installed ibm-java-sdk-6.0-10.0-linux-s390x.bin in a private directory. The installation seems to be OK, I can run de demo's without a problem.
The NetRexx compiler will not run however. It keeps complaining about class java.lang.Object.
I tried adding rt.jar to the CLASSPATH as suggested in some forum messages to no effect.
 
SDK 1.6 seems to have lost vm.jar and core.jar but gained an rt.jar but the latter does not contain the class file for java.lang.Object.
I browsed all of the .jar files in the sdk and jre lib directories but could not find the class file?
 
Suggestions are welcome...
 
Regards
Paula Duijneveld
 
 
 
 
********************************************************
For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: IBM java sdk 6 for s390x and NetRexx compiler

rvjansen
Hi Paula,

I am running with a classpath of

.:/usr/lpp/java/J6.0/lib/tools.jar:/u/ab2217/lib/NetRexxC.jar

and have a path of

export PATH=$PATH:/usr/lpp/java/J6.0/bin:/u/ab2217/bin

This with the non-smpe install of Java 1.6.0:

java version "1.6.0"
Java(TM) SE Runtime Environment (build pmz3160sr9ifix-20110211_02(SR9+IZ94423))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 z/OS s390-31 jvmmz3160sr9-20101124_69
295 (JIT disabled, AOT disabled)

for JCL with JZOS, the following settings:

000001 //AB2217N1 JOB (7355,710,TC78JAN),'PGM',MSGCLASS=X,NOTIFY=AB2217,
 000002 //        REGION=0K
 000003 //JAVA EXEC PROC=JVMPRC60,
 000004 // JAVACLS='ParseDCollect'
 000005 //INPUT DD DSN=AB2217.TNAB.OUT,DISP=SHR
 000006 //OUTPUT DD DSN=AB2217.TNAB.OUT2,DISP=OLD
 000007 //STDENV DD *
 000008 . /etc/profile
 000009 export JAVA_HOME=/usr/lpp/java/J6.0
 000010 export PATH=/bin:"${JAVA_HOME}"/bin
 000011 LIBPATH=/lib:/usr/lib:"${JAVA_HOME}"/bin
 000012 LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390
 000013 LIBPATH="$LIBPATH":"${JAVA_HOME}"/lib/s390/j9vm
 000014 LIBPATH="$LIBPATH":"${JAVA_HOME}"/bin/classic
 000015 export LIBPATH="$LIBPATH":
 000016 APP_HOME=$JAVA_HOME
 000017 CLASSPATH=$APP_HOME:"${JAVA_HOME}"/lib:"${JAVA_HOME}"/lib/ext
 000018 CLASSPATH=$CLASPATH:/u/ab2217/lib/NetRexxC.jar
 000019 export CLASSPATH="$CLASSPATH":
 000020 IJO="-Xms16m -Xmx128m"
 000021 export IBM_JAVA_OPTIONS="$IJO "
 000022 //

Let me know if there are more things to compare.

best regards,

René Jansen.


On 8 feb. 2012, at 17:53, Duijneveld, PW - SPLXM wrote:

Hi,
 
"My" RH5 Linux has a java SDK 1.5 installed as part of a DB2 package.
The NetRexx compiler 2.05 (and the 3.01RC2 version) runs OK using this SDK.
 
To avoid a dependency on someone else's DB2 package I installed ibm-java-sdk-6.0-10.0-linux-s390x.bin in a private directory. The installation seems to be OK, I can run de demo's without a problem.
The NetRexx compiler will not run however. It keeps complaining about class java.lang.Object.
I tried adding rt.jar to the CLASSPATH as suggested in some forum messages to no effect.
 
SDK 1.6 seems to have lost vm.jar and core.jar but gained an rt.jar but the latter does not contain the class file for java.lang.Object.
I browsed all of the .jar files in the sdk and jre lib directories but could not find the class file?
 
Suggestions are welcome...
 
Regards
Paula Duijneveld
 
 
 
 
********************************************************
For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: IBM java sdk 6 for s390x and NetRexx compiler

Paula Duijneveld
Thanks Rene,

The s390x directory in your library path setting caught my attention.
I had upto now checked all .jars in  lib and jre/lib and jre/lib/ext and some more but skipped most of the jre/lib/s390x and subdirs as they appeared to contain just shared libs (.so).
But in .../jre/lib/s390x/compressedrefs/jclSC160 I now found a vm.jar which did have the java.lang.Object class!
I added this .jar to the CLASSPATH and my compile now runs OK.

I should have done a find ... -name "*.jar" first...

Regards,
Paula
Reply | Threaded
Open this post in threaded view
|

Re: IBM java sdk 6 for s390x and NetRexx compiler

rvjansen
Hi Paula,

that is good to hear; I'll add this to the user guide.

best regards,

René Jansen.

On 2012-02-09 12:23, Paula Duijneveld wrote:

> Thanks Rene,
>
> The s390x directory in your library path setting caught my attention.
> I had upto now checked all .jars in  lib and jre/lib and jre/lib/ext
> and
> some more but skipped most of the jre/lib/s390x and subdirs as they
> appeared
> to contain just shared libs (.so).
> But in .../jre/lib/s390x/compressedrefs/jclSC160 I now found a vm.jar
> which
> did have the java.lang.Object class!
> I added this .jar to the CLASSPATH and my compile now runs OK.
>
> I should have done a find ... -name "*.jar" first...
>
> Regards,
> Paula
>
> --
> View this message in context:
>
> http://ibm-netrexx.215625.n3.nabble.com/IBM-java-sdk-6-for-s390x-and-NetRexx-compiler-tp3726685p3729170.html
> Sent from the ibm-netrexx mailing list archive at Nabble.com.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: IBM java sdk 6 for s390x and NetRexx compiler

Paula Duijneveld
Hi René,

I think it should be ...s390x/default/jclSC160/vm.jar rather than ...s390x/compressedrefs/jclSC160/vm.jar.
This matches the info in your "big iron" RexxLA presentation.

Regards,
Paula