IBM Support

IJ09139: CUDA4J NOT AVAILABLE ON ALL PLATFORMS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: An application that uses CUDA4J API does not run
    on some platforms.
    .
    Stack Trace: Error: A JNI error has occurred, please check your
    installation and try again
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com.ibm.cuda.CudaException
        at java.lang.J9VMInternals.prepareClassImpl(Native Method)
        at java.lang.J9VMInternals.prepare(J9VMInternals.java:302)
        at java.lang.Class.getMethodHelper(Class.java:1242)
        at java.lang.Class.getMethod(Class.java:1186)
        at
    sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.jav
    a:556)
        at
    sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java
    :538)
    Caused by: java.lang.ClassNotFoundException:
    com.ibm.cuda.CudaException
        at
    java.net.URLClassLoader.findClass(URLClassLoader.java:609)
        at
    java.lang.ClassLoader.loadClassHelper(ClassLoader.java:925)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:870)
        at
    sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:343)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:853)
        ... 6 more
    .
    

Local fix

  • There is no known workaround.
    

Problem summary

  • An application that uses CUDA4J API does not run on some
    platforms.
    

Problem conclusion

  • IBM's Java SDKs now support CUDA4J APIs on all platforms.
    On platforms where GPUs are not supported, the behavior is the
    same as it would be on a supported platform where no GPUs are
    present.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP22  (8.0.5.22)
    .
    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

Comments

APAR Information

  • APAR number

    IJ09139

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-13

  • Closed date

    2018-09-13

  • Last modified date

    2018-09-13

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022