cancel
Showing results for 
Search instead for 
Did you mean: 

SAPJCo3

Former Member
0 Kudos

I want install the SAPJCo 3. I use xp servicpak 3 and work with eclipse. My problem is that sapjco3.dll doesn´t run. I put it in windowssystem32. I read in the Forums that it works only on new windows versions. Is that true? How i can workaround this problem?

Problem Display: not loaded, caused by java.lang.UnsatisfiedLinkError:

Edited by: uemit.ece on Apr 6, 2011 12:01 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank for Marcus! Now my sapjco3.dll runs under xp

markus_doehr2
Active Contributor
0 Kudos

> Problem Display: not loaded, caused by java.lang.UnsatisfiedLinkError:

Windows XP is supported.

Every program and DLL is generated with a specific windows compiler version. The resulting programs need a runtime from that compiler version to be able to run.

If you read

Note 1077727 - SAP JCo 3.0 release and support strategy

you'll find

JCo 3.0 requires the Visual Studio 2005 C/C++ runtime libraries (8.0.50727.4053).
See SAP note 1375494 for details on how to install them.

Install those and see if it works.

Markus

Former Member
0 Kudos

How i can getting run the dll programs in eclipse? And how can i show me the note?

Edited by: uemit.ece on Apr 6, 2011 12:49 PM

markus_doehr2
Active Contributor
0 Kudos

> How i can getting run the dll programs in eclipse?

?? you install it, it contains the runtime environment for the sapjco3.dll

> And how can i show me the note?

http://service.sap.com/notes

or for many notes you can just enter the note number in the upper right "search" field here in the SDN....

Markus

Former Member
0 Kudos

i import the sapjco3 in eclipse. when i compile the JCo.class ist doesnt run the sapjco.dll. the sapjco.dll lies in the windwos\system32

uemit.ece

Former Member
0 Kudos

i import the sapjco3 in eclipse. when i compile the JCo.class ist doesnt run the sapjco.dll. the sapjco.dll lies in the windwos\system32

uemit.ece

markus_doehr2
Active Contributor
0 Kudos

> i import the sapjco3 in eclipse. when i compile the JCo.class ist doesnt run the sapjco.dll. the sapjco.dll lies in the windwos\system32

Yes, it can't load it because it can't find the runtime functions provided in e. g. MSVCRT90.DLL (and others). Just read the note, it contains all information about the necessity of installin vcredist (the runtime). Forget for the moment about "loading the DLL in eclipse".

sapjco.dll depends on the installation of the runtime.

Markus

Former Member
0 Kudos

why i need the Microsoft Visual Studio? I use the JDK.

markus_doehr2
Active Contributor
0 Kudos

sigh

You don't need Visual Studio.

I try again to explain:

sapjco.dll was built/compiled by SAP using Visual Studio. Every Visual Studio/Compiler version needs a runtime environment. This runtime environment is the vcredist.msi package.

SAPJco can't be loaded because it's not an isolated DLL but depends on that runtime. If the runtime is not present it can't resolve symbols and hence it doesn't load. That's how Windows work, how it worked in the last two decades. Because it seems that you don't have this runtime installed (as mentioned by the note) you can't use sapjco.dll.

You can read the note here:

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_op/~fo...

Just install vcredist and try again and it will work.

You can also check you windows event log, it will also have errors that assemblies are not found.

So either install the vcredist package or stop using SAP JCO 3.x because without it won't work.

Markus

Former Member
0 Kudos

I install JCo in windows 7. There where any problems with sapjco3.dll. i put it in windowssystem32. that all. i don´t set a classpath .

thanks

uemit.ece

Former Member
0 Kudos

but i must get started this programm in xp

markus_doehr2
Active Contributor
0 Kudos

Again: install the vcredist package.

Your problem will be gone.

Markus

Former Member
0 Kudos

i did it. believe me. nothing happend.now i get an access to the notes of sap.

Former Member
0 Kudos

it´s run Marcus. i installed the english version. the german version of vcredist_x86.exe was false.

Thanks for the note.

Edited by: uemit.ece on Apr 7, 2011 3:18 PM