on 04-06-2011 10:57 AM
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
Thank for Marcus! Now my sapjco3.dll runs under xp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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?
or for many notes you can just enter the note number in the upper right "search" field here in the SDN....
Markus
> 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
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:
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
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.