IZ95277: 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

    IZ95277

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • 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:

    PM33082

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

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

5.0

Reference #:

IZ95277

Modified date:

2011-03-07

Translate my page

Machine Translation

Content navigation