taksan / skype-java-api

Skype API for Java, based on Skype4Java library
128 stars 60 forks source link

Mac OS, Eclipse. Exception in thread "main" java.lang.IllegalStateException: Library skype is not in the resource path! This is a bug! #21

Closed evluhin closed 11 years ago

evluhin commented 11 years ago

I tried to run com.skype.connector.osx.SkypeFrameworkTest.main but got the error

Exception in thread "main" java.lang.IllegalStateException: Library skype is not in the resource path! This is a bug! at com.skype.connector.ConnectorUtils.loadLibrary(ConnectorUtils.java:77) at com.skype.connector.osx.SkypeFramework.init(SkypeFramework.java:44) at com.skype.connector.osx.SkypeFrameworkTest.main(SkypeFrameworkTest.java:29)

Fix is change line in com.skype.connector.osx.SkypeFramework.init(SkypeFramework.java:44) from ConnectorUtils.loadLibrary("skype"); to ConnectorUtils.loadLibrary("libskype.jnilib");

taksan commented 11 years ago

Ok, I'll take a look. Thanks!

aruld commented 11 years ago

I am running into same problem on Max OS X. I have tested the fix and it works for me. Is there a plan to roll this out in a release?

taksan commented 11 years ago

Sorry I wasn't very prompt about this problem, I've been really busy. But since you also tested and it worked, I'll incorporate the fix and release until friday.

Thanks!

aruld commented 11 years ago

Much appreciated!