java.lang.Throwable: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [sapjcorfc (No such file or directory)]. java.library.path [/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin/classic:/opt/TDI/V6.1.1/jvm/jre/bin:/usr/lib]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ibm.com by Unknown author, 1 year ago
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [sapjcorfc (No such file or directory
java.lang.Throwable: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [sapjcorfc (No such file or directory)]. java.library.path [/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin:/opt/TDI/V6.1.1/jvm/jre/bin/classic:/opt/TDI/V6.1.1/jvm/jre/bin:/usr/lib]
at com.sap.mw.jco.JCO.(JCO.java:820)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.