on 09-15-2004 4:28 PM
Hello,
In the past I successfully used the JCo 2.0.7.
Now I downloaded JCo 2.1.3 and replaced the librfc32.dll and sapjcorfc.dll in system32 with the DLLs from the new JCo distribution.
My Java test program now gives the error below:
My classpath is of course correct. If I reset my DLLs to the old versions, my test program works again.
Can you help?
Michael
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
default_cpc_mode
at com.sap.mw.jco.JCO.<clinit>(Unknown Source)
at sap.idoc.JCoIDocSample1.main(JCoIDocSample1.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Exception in thread "main"
Hi Michael,
Is it possible that the old JCo library files are in the path?
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.