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 [export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: /export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: cannot open shared object file: No such file or directory]. java.library.path [export/home/oracle/midtier/jdk/jre/lib/i386/client:/export/home/oracle/midtier/jdk/jre/lib/i386:/export/home/oracle/midtier/jdk/jre/../lib/i386]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Unknown by Pamato-Oracle,
  • via Unknown by 17928,
  • Stack trace

    • 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 [export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: /export/home/oracle/midtier/jdk/jre/lib/i386/libsapjcorfc.so: cannot open shared object file: No such file or directory]. java.library.path [export/home/oracle/midtier/jdk/jre/lib/i386/client:/export/home/oracle/midtier/jdk/jre/lib/i386:/export/home/oracle/midtier/jdk/jre/../lib/i386] at com.sap.mw.jco.JCO.<clinit>(JCO.java:738) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at com.sap.mw.jco.About.<init>(About.java:33) at com.sap.mw.jco.About.main(About.java:93)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.