IBM Support

IV74620: KEYTOOL FAILS WHILE LAUNCHING IT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Error: Could not find or load main class
    sun.security.tools.keytool.Main
    .
    Stack Trace: None
    .
    

Local fix

  • Use com.ibm.crypto.tools.KeyTool as main class for keytool in
    IBM JDK.
    

Problem summary

  • keytool fails while launching it
    

Problem conclusion

  • The reason is that the latest build uses autoconfig to build
    jdk. For keytool, it uses sun.security.tools.keytool.Main as
    main class which is just the sams as OpenJDK. However the class
    doesn't exist in IBM JDK. We should use ibm security class for
    keytool in IBM JDK.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2       (8.0.2.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

  • Use com.ibm.crypto.tools.KeyTool as main class for keytool in
    IBM JDK.
    

Comments

APAR Information

  • APAR number

    IV74620

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-26

  • Closed date

    2015-07-21

  • Last modified date

    2015-07-21

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

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

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022