on 07-06-2009 7:35 AM
Hi Experts,
I'm trying to run JCo 3.0.2 on virtual machine VMware but I got error java.lang.UnsatisfiedLinkError.
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\sapjco\sapjco3.dll: Diese Anwendung konnte nicht gestartet werden, weil die Anwenungskonfiguration nicht korrekt ist. Zur Problembehebung sollten Sie die Anwendung neu installieren
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at pl.sst.fis.StepByStepClient.main(StepByStepClient.java:335)
I've configured PATH system variable adding path to directory with JCo but it didn't helped. I tried to load the library manually from the code:
System.load("C:
sapjco
sapjco3.dll");
but I got the same error.
I don't have this kind of error with JCo 2.1.8.
Does anybody face the similar problem?
I'd appreciate any advice or hint.
Best regards,
Krzysztof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check this
http://www.codebase.com/support/kb/?article=C01032
let me know am i reached u r goal or not
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the best way to avoid it is to specify -Djava.library.path= path to your library during an execution of program. In my application it works well even without this parameter but i have to put this library in root of my classpath. For your application you can simply check this path by calling
System.out.println(new File(".").getAbsolutePath();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.