Discussion:
[Freeswitch-users] UnstisfiedLinkError
Anurag Rana
2015-05-16 10:21:16 UTC
Permalink
Hi ,

I am getting this error when trying to run the java code

---error start------
java.lang.UnsatisfiedLinkError:
org.freeswitch.swig.freeswitchJNI.new_JavaSession__SWIG_0()J
at org.freeswitch.swig.freeswitchJNI.new_JavaSession__SWIG_0(Native
Method)
at org.freeswitch.swig.JavaSession.<init>(JavaSession.java:37)
at Ping_MakeCall.call(Ping_MakeCall.java:68)
at Ping_MakeCall.run(Ping_MakeCall.java:61)
at java.lang.Thread.run(Thread.java:744)
----error ends ------

---
​Java code line where I am getting the error----
JavaSession sessionAPI = new JavaSession();
org.freeswitch.swig.API a = new API(sessionAPI);
------
I have already included freeswitch.jar file in path.

​
​What could be the possible reason for this error.?


Anurag Rana <https://sites.google.com/site/homepagerana/>
M.Tech CSE, IIIT-Delhi,
newbie42.com
https://sites.google.com/site/homepagerana/

Loading...