SAP Connection

I have a program that must run an RFC in SAP, configured to connect the files on my machine (librfc32.dll and sapjcorfc.dll in the Notes root directory and file sapjco.jar within %NOTES_INSTALLPATH%\JVM\lib\ext) and executed successfully. But when I did the same configuration on the server it returned the following error:

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO

Please I need help urgently!

Subject: NoClassDefFoundError

java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO

Your server cannot find the jar’s hence no class found.

Check the classpath on your server. make sure all your files are in a directory in %path%.

Also remember that the server runs on a older JRE (1.4) where you’re client doesn’t. You might need to recompile in an odler version aswell.

Subject: SAP Connector

Thanks for your reply, but now another error appeared.

java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer ‘com.sap.mw.jco.rfc.MiddlewareRFC’

Trank you