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.
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.