on 04-13-2005 3:43 PM
hi ,
We are trying to run a application which uses swings as frontend and SAP R/3 system as a backend. The connection to R/3 is done by a JCO program written in java.
If the application is excecuted in a system where NDS is already installed it works fine.But it throws an error if there is no NDS installed in it.
The error while running the java appication is :
This error is shown in the alert box :
-
java.exe - Entry Point Not Found
-
The procedure entry point RfcDsrInit could not be located in the dynamic link library LIBRFC32.dll.
-
OK
-
and then when we say ok the following happens
Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classIniti
alize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjco
rfc in java.library.path]. java.library.path [C:\WINDOWS\system32;.;C:\WINDOWS\S
ystem32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PR
OGRA1\CA\SHARED1\SCANEN1;C:\PROGRA1\CA\ETRUST~1;c:\j2sdk1.4.2_03\bin;.;]
at com.sap.mw.jco.JCO.<clinit>(JCO.java:735)
at birthday.SAPDAO.<clinit>(SAPDAO.java:52)
at birthday.Reminder.initialize(Reminder.java:43)
at birthday.Reminder.<init>(Reminder.java:39)
at birthday.Test2.<init>(Test2.java:74)
at birthday.Test2.main(Test2.java:714)
Can anyone suggest me where the problem is and how to rectify it.
Regards
Bharathwaj
Message was edited by: Bharathwaj R
Put the librfc32.dll and sapjcorfc.dll in windows/system32 directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.