on 10-18-2012 9:21 AM
Hi All,
I wrote a simple java progarm to connect to sap using jco connector and set classpath for spjco.jar also.it compiled with out errors but at runtime we got the error "java.lang.classnotfoundexception:com.sap.mw.jco.JCOException.
i copied the dll files librfc32.dll,sapjcorfc.dll in system32.
Please help me out.
Regards
Viswa
Hi Viswa,
Add the jar file in the lib folder of the project , and refer it the build path of the project.
Regards ,
Adren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Add "com.sap.mw.jco.*;" at the beggining of your program. If you are using JCO 2.X, try with a higher version (3.0).
Regards,
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.