Skip to Content
0
Former Member
Jul 28, 2009 at 03:03 AM

sapjco: Couldn't load middleware layer

152 Views

Hi, I have some problem with sapjco. When I start the application I have an error: u201Cjava.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

access denied (java.util.PropertyPermission jco.middleware_library read)

at com.sap.mw.jco.JCO.<clinit>(JCO.java:776)

at app_draw.connect(app_draw.java:44)

at app_draw.start(app_draw.java:18)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)u201D

I use sapjco 2.1.8.

I start sapjco.jar from command string (java u2013jar sapjco.jar) SAPJCo application open. In the PATH block there are there are tree points: JCo classes, JCo library, RFC library. Opposite RFC library the system written u201CSystem-defined pathu201D