Menu

#2 Usage with Eclipse

open
nobody
None
5
2005-09-23
2005-09-23
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    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

     
  • Nobody/Anonymous

    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!

     
  • Lothar Kimmeringer

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.