skype-java-api icon indicating copy to clipboard operation
skype-java-api copied to clipboard

Not working with Latest Java 1.7.0_40

Open mmkaila opened this issue 11 years ago • 1 comments

Hello,

We have used skype-java-api-1.4.jar in one of our application for skype call and was working fine.

If we update our java to 1.7.0_40 then Skype.isInstalled() method returns false.

We have also try with skype-java-api-1.5.jar but no success.

Please suggest.

Thanks Mahesh

mmkaila avatar Sep 20 '13 09:09 mmkaila

Issue Fixed.

Solution:

Modified Skype.java

Changed

From

public static boolean isInstalled() {
    String path = getInstalledPath();
    if(path == null) {
        return false;
    }
    return new File(path).exists();
}

To

public static boolean isInstalled() {
    String path = getInstalledPath();
    if(path == null) {
        return false;
    }
    return new File(path.trim()).exists();
}

mmkaila avatar Sep 20 '13 11:09 mmkaila