Closed as program error.
Error Message: The JNI Demo Application is failed to compile in 64-bit zOS JDK 6 build. The following are the steps to compile a JNI demo file: export PATH=<JAVA_HOME>/bin:$PATH export JAVA_HOME=<JAVA_HOME> cd <JAVA_HOME>/demo/jni/InvocationAPI/c <JAVA_HOME>/demo/jni/InvocationAPI/c>./make.sh Building invocationapi with 1.2 style init args... c++ -W l,xplink -o invocationapi invocationapi.o /u/sathipal/Amar-Build/60SR10/J6.0_64/bin/classic/libjvm.x IEW2439E 9228 THE AMODE OF THE REFERENCING ESD GetStringPlatform DOES NOT MATCH THAT SPECIFIED ON THE IMPORT STATEMENT. IEW2439E 9228 THE AMODE OF THE REFERENCING ESD GetStringPlatformLength DOES NOT MATCH THAT SPECIFIED ON THE IMPORT STATEMENT. IEW2439E 9228 THE AMODE OF THE REFERENCING ESD JNI_CreateJavaVM DOES NOT MATCH THAT SPECIFIED ON THE IMPORT STATEMENT. IEW2439E 9228 THE AMODE OF THE REFERENCING ESD NewStringPlatform DOES NOT MATCH THAT SPECIFIED ON THE IMPORT STATEMENT. FSUM3065 The LINKEDIT step ended with return code 8. FSUM8226 make: Error code 3 make: 'invocationapi' removed. . Stack Trace: N/A .
Modify the Makefile to include the compiler and linker option -W "c,langlvl(extended),lp64"
The 31-bit and 64-bit SDK uses the same JNI demo makefiles. Hence the 64-bit compile option <OSB>-W "c,langlvl(extended),lp64"<CSB> is not included in the Makefile. and it resulted in the link error while linking it with 64-bit object modules.
This defect will be fixed in: 6.0.0 SR10 6.0.1 SR1 7.0.0 SR1 . Modified the JDK to use separate header files with compiler and linker flags for 31-bit and 64-bit zOS SDK. . To obtain the fix: Install build 20111022 or later
Reported component name
JAVA CLASS LIBS
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA CLASS LIBS
Fixed component ID
Applicable component levels
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.