cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connectivity through JAVA

Former Member
0 Kudos

Hello sir,

I have create 1 java class file which connects to SAP DB through RFC connection.

I have put sapjco3.dll,librfc32.dll,sapjcorfc.dll in to the folder windows\system32.

Its working fine on windowsXP, but not working on Windows Vista and windows server 2003.

its giving error as

java.lang.UnsatisfiedLinkError: D:\splerp3\sapjco3.dll: The application has failed to start because

its side-by-side configuration is incorrect.

please tell me what configuration i have to do for vista and server 2003.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi guys,

please pay attention to the given infos on the JCo download site. It says:

Note: Starting with JCo 2.1.4 and JCo 2.0.11, JCo requires the Visual Studio .NET C/C++ runtime libraries on Windows platforms.

Starting with JCo 3.0.0, it requires the Visual Studio 2005 C/C++ runtime libraries. See SAP note [684106|https://service.sap.com/sap/support/notes/684106] for details on how to install them.

Installing the VC redistributable packages from Microsoft will solve this issue.

Regards,

Stefan

Answers (2)

Answers (2)

Former Member
0 Kudos

Try putting the dlls in the Windows --> SysWOW64 folder.

T00th

Former Member
0 Kudos

Hi Jain,

Actually SAP is not recommending to implement SAP JCo in vista.

Regards,,

Arun