Skip to Content
0
Former Member
Aug 06, 2007 at 10:31 AM

Could not initialize dynamic link library sapjcorfc

234 Views

Hello Experts!

I'm using JCO SAP Java Connector 2.1.2

with JDK 1.4.2. I also follow the instruction with

"Copy the librfc32.dll file from your JCo root directory to

C:\WINNT\SYSTEM32"

My existing librfc32.dll' has 5050 KB

and JCO librfc32.dll is 7493 KB. After copying librfc32.dll

into C:\WINNT\SYSTEM32 I can't start my SAP-Logon. I get the

error message "Entry Point Not Found". Java Code seems to be

properly as well. What is wrong with JCo and librfc32.dll

Regards

Ilhan

[code]

C:\pro>java Run

Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError:

JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.Middlew

areRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc

[no sapjcorfc in java.library.path].

java.library.path [C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;

C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;

C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\Infoprint Select;C:\Notes;

C:\Program Files\XLView;C:\lotus\compnent;C:\Utilities;

C:\Program Files\IBM\Personal Communications\;

C:\Program Files\IBM\Trace Facility\;

C:\Program Files\ThinkPad\ConnectUtilities;

C:\WINDOWS\Downloaded Program Files;

C:\Programme\jdk142\bin]

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

at GetCompanycodeList.ConnectToSap(GetCompanycodeList.java:99)

at GetCompanycodeList.actionPerformed(GetCompanycodeList.java:81)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour

ce)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)[/code]