IC96932: SPL COMPILER ERRORS FOR JAVA OPERATORS WITH ORACLE JDK 1.7

 

APAR status

  • Closed as fixed if next.

Error description

  • If you have JAVA_HOME set to Oracle JDK 1.7 and you compile a
    streams processing application that uses Java operators, errors
    occur as follows:
    ...
    <java_home>/include/jni.h:45:20: error: jni_md.h: No such file
    or directory ...
    <java_home>/include/jni.h:63: error: 'jint' does not name a type
    <java_home>/include/jni.h:122: error: 'jbyte' does not name a
    type
    <java_home>/include/jni.h:125: error: 'jint' does not name a
    type
    <java_home>/include/jni.h:126: error: 'jlong' does not name a
    type
    <java_home>/include/jni.h:220: error: 'JNICALL' has not been
    declared
    <java_home>/include/jni.h:220: error: ISO C++ forbids
    declaration of 'jint' with no type
    <java_home>/include/jni.h:220: error: 'jint' declared as
    function returning a function
    <java_home>/include/jni.h:222: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:225: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:228: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:230: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:233: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:236: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:238: error: expected ')' before '*'
    token
    <java_home>/include/jni.h:241: error: expected ')' before '*'
    token ...
    

Local fix

Problem summary

  • Users Affected: Users who use Oracle JDK 1.7.
    
    
    Problem Description: See Error Description.
    
    Problem Conclusion: This problem is fixed in Version 3.1 Fix
    Pack 1 and later fix packs.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC96932

  • Reported component name

    INFOSPHERE STRE

  • Reported component ID

    5724Y95IS

  • Reported release

    310

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-15

  • Closed date

    2013-10-29

  • Last modified date

    2013-10-29

  • APAR is sysrouted FROM one or more of the following:

    IC96931

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R310 PSY

       UP

Rate this page:

(0 users)Average rating

Document information


More support for:

InfoSphere Streams

Software version:

3.1

Reference #:

IC96932

Modified date:

2013-10-29

Translate my page

Machine Translation

Content navigation