Skip to Content
author's profile photo
Former Member

WAS 6.30 / Netweaver 2.0 . Problem with Sapjco.jar in J2EE application

Hello,

I have created a J2EE application with the sneak preview edition of Sap Netweaver developer studio on WAS 6.30.

Everything goes well, i mean compilation, building of the EAR file and deployment until i access the application.

Then i have the following error message displayed :

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. Not found in java.library.path [C:\Program Files\jdk1.3.1_07\jre\bin\server...etc

I do not know what to do in this case...I am not a specialist. I have seen a note related to the same issue (note 542175), but i do not know if it applies on a J2ee 6.30 and what to do exactly now.

Thanking you in advance for your help and advice

Yvan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 23, 2004 at 09:46 AM

    Hello Yvan,

    I moved your message here, because it is closer to the point.

    What you have to do here is to add this lib into the build path of your project. You go there by right click on the project and chose option "buildpath".

    Then go the the tab "libraries" and now it's getting complicated:

    The best is to chose external library and add it from the place where it is in the system. That should be in the eclipse/plugin directory.

    Regards,

    Benny

    Add comment
    10|10000 characters needed characters exceeded