Usage with Eclipse
Status: Beta
Brought to you by:
hgraefe
I got this error message:
JCJ00 error: Shared library 'jcapi20' not found in
library path or not compatible
java.lang.UnsatisfiedLinkError: no jcapi20 in
java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at net.sourceforge.jcapi.Jcapi.<clinit>(Jcapi.java:103)
at CallMon.run(CallMon.java:277)
at CallMon.<init>(CallMon.java:120)
at CallMon.main(CallMon.java:352)
in this situation:
- New Eclipse Project with Imported External Jar
(jcapi.jar) in Build Path
Logged In: NO
Hey Nobody/Anonymus ;-)
I have the same problems regarding Eclipse. I'm currently
developing a plugin to provide the ISDN Capi Listener for
my project.
I'm using the AVM Fritzcard USB which works quite fine in
combination with PowerISDN Monitor
(www.powerisdnmonitor.de) which also uses the JCapi library.
Anyway, if anyone found a solution to this, please let me
know!
Kind regards,
Fab
Logged In: NO
OK, problem solved. I had to extract jcapi20.dll from the
jcapi.jar and to put it in the classpath.
Now it seems to be working fine!
Logged In: YES
user_id=1098815
Originator: NO
Hello Fab,
under Windows, the DLL must be placed into a directory that is part of the PATH-variable or the working directory. Eclipse set the project-base-directory to be the working-directory. So if you place jcapi20.dll into the base-project-directory, everything should be working.
Best regards, Lothar