cancel
Showing results for 
Search instead for 
Did you mean: 

SAP JCO problems within Visual age for Java

Former Member
0 Kudos

Any suggestions on how to install SAPjco on Visual age

for Java and Websphere ?

What I did so far, is copying librfc32.dll, sapjcorfc.dll

and sapjco.jar to c:\winnt\system32 as suggested.

This is the exception :


Root Error-1: JCO.classInitialize(): Could not load 
middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' 
JCO.nativeInit(): Could not initialize dynamic link 
library sapjcorfc [no sapjcorfc in java.library.path]. 
java.library.path [C:Program FilesIBMVisualAge for 
Javaideprogram;.;C:IBM 
ConnectorsEncinabin;C:IBMCON~1
CICSBIN;C:HYPERIONESSBASEBIN;C:WINNTsystem32;C:WIN
NT;C:WINNTSystem32Wbem;%C:WINNT%system32;%C:WINNT%;%
%%C:WINNT%%%system32;%%%C:WINNT%%
%;INSTALLDIR;C:Program FilesIBMTrace 
Facility;C:Program FilesIBMPersonal 
Communications;C:ORANTbin;C:WINNTsystem32
;C:WINNTsystem32
Wbem;C:IMNnq_NT;C:SQLLIBBIN;C:SQLLIBFUNCTION;C:SQLL
IBSAMPLESREPL;C:SQLLIBHELP;C:j2sdk1.4.1_01
bin;C:apache-ant-1.6.1bin;C:Program FilesMicrosoft 
Visual StudioCommonToolsWinNT;C:Program 
FilesMicrosoft Visual StudioCommonMSDev98
Bin;C:Program FilesMicrosoft Visual 
StudioCommonTools;C:Program FilesMicrosoft Visual 
StudioVC98bin;C:Program FilesIBMVisualAge for 
Javaeabbin;C:Program FilesIBMVisualAge for 
Javaidetoolscom-ibm-psh-viewer;]

I have replied to this thread without realising it was closed/answered.[link];/link]

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hmm,

Try keeping sapjcorfc.dll in the classpath you have set for sapjco.jar. Which means sapjco.jar and sapjcorfc.dll should be in the same directory(classpath directory). I dont see a requirement of them being in the system32 directory except librfc32.dll. Tell me how it goes

Regards

Pran

Former Member
0 Kudos

Morning Jannie,

I'm a little confused. If you're using websphere, aren't you using websphere development studio? This will give you no problems with JCo. Alternatively you could just use plain old eclipse, which is the nuts and bolts behind both NetWeaver Dev. Studio and WebSphere Dev. Studio.

I thought VA was dead and buried.

I might be wrong of course.

Alistair

Former Member
0 Kudos

Hi Alistair

Yeah, VA is long dead and forgotten, but we have to make due until the new dev software arrives.

Unfortunately, we don't use Websphere Development Studio, however we use VA for development and it has an intergrated Websphere Test Environment.

Where do I need to install the DLL files ?