IBM Support

PM33082: JAVA -VERSION & -FULLVERSION NOT WORKING WHEN JRE DIRECTORY IS MODIFIED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: # ./java -fullversion
    full version - J2RE 1.5.0 IBM AIX build jclap32devifx-20101008
    java
    # ./java -version
    libjvm.so
    preloadLibrary(/var/installables/jamjre/jre15/bin/libjava.a)
    Could not load module
    /var/installables/jamjre/jre15/bin/libjava.a.
            Dependent module libwrappers.a could not be loaded.
    
    Could not load module libwrappers.a.
    
    System error: No such file or directory
    
    Could not load module
    /var/installables/jamjre/jre15/bin/libjava.a.
    Dependent module /var/installables/jamjre/jre15/bin/libjava.a
    could not be loaded.
    
    libjvm.so
    preloadLibrary(/var/installables/jamjre/jre15/bin/libjava.a)
    Could not load module
    /var/installables/jamjre/jre15/bin/libjava.a.
    Dependent module libwrappers.a could not be loaded.
    Could not load module libwrappers.a.
    
    System error: No such file or directory
    
    Could not load module
    /var/installables/jamjre/jre15/bin/libjava.a.
    Dependent module /var/installables/jamjre/jre15/bin/libjava.a
    could not be loaded.
    
    JVMJ9VM011W Unable to load j9dmp23: No such file or directory
    
    JVMJ9VM011W Unable to load j9trc23: No such file or directory
    
    JVMJ9VM011W Unable to load j9jit23: No such file or directory
    
    JVMJ9VM011W Unable to load j9bcv23: No such file or directory
    
    JVMJ9VM011W Unable to load j9gc23: No such file or directory
    
    JVMJ9VM011W Unable to load j9dyn23: No such file or directory
    
    JVMJ9VM011W Unable to load jclscar_23: No such file or directory
    Could not create JVM.
    .
    Stack Trace: N/A
    .
    After renaming jre to jre15, java -fullversion gives a  wrong
    Java level and java -version command fails to execute.
    

Local fix

Problem summary

  • After applying APAR PM13858, when application change the jre
    directory to jre15, JDK consider it as the sdk/bin directory and
    set the JRE directory by appending jre/bin. As jre15 is
    originally the JRE directory, JVM could not find the directory
    when a jre is appended to the original JRE directory (jre15),
    JVM could not find the dll expected in jre directory.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13 FP9 (AIX)
    5.0.0 SR12 FP4
    1.4.2 SR13 FP9 (Linux)
    .
    JVM is updated to handle modified JRE directory name.
    .
    To obtain the fix:
    Install build 20110226 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM33082

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    42A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-02-21

  • Closed date

    2011-03-07

  • Last modified date

    2011-03-07

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

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

    IZ95277 PM33090

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R42A PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022