Skype.isInstalled(); throws an exception if it is very first call of skype api
Connected to the target VM, address: '127.0.0.1:52491', transport: 'socket'
Disconnected from the target VM, address: '127.0.0.1:52491', transport: 'socket'
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.skype.connector.win32.Win32Connector.jni_getInstalledPath()Ljava/lang/String;
at com.skype.connector.win32.Win32Connector.jni_getInstalledPath(Native Method)
at com.skype.connector.win32.Win32Connector.getInstalledPath(Win32Connector.java:83)
at com.skype.Skype.getInstalledPath(Skype.java:222)
at com.skype.Skype.isInstalled(Skype.java:209)
at skype.main(skype.java:19)
There is another problem
If it is not first call to skype api it returns true under 32-bit jdk and false under 64-bit jdk although skype is installed.
Possible it is related to the fact that skype client is 32-bit application.
I'm splitting this issue in two parts, because I'll address them separetely. This issue only refers to the first problem, invoking isInstalled before anything else.
Windows 7 64 bit
Skype.isInstalled(); throws an exception if it is very first call of skype api
Connected to the target VM, address: '127.0.0.1:52491', transport: 'socket' Disconnected from the target VM, address: '127.0.0.1:52491', transport: 'socket' Exception in thread "main" java.lang.UnsatisfiedLinkError: com.skype.connector.win32.Win32Connector.jni_getInstalledPath()Ljava/lang/String; at com.skype.connector.win32.Win32Connector.jni_getInstalledPath(Native Method) at com.skype.connector.win32.Win32Connector.getInstalledPath(Win32Connector.java:83) at com.skype.Skype.getInstalledPath(Skype.java:222) at com.skype.Skype.isInstalled(Skype.java:209) at skype.main(skype.java:19)
There is another problem If it is not first call to skype api it returns true under 32-bit jdk and false under 64-bit jdk although skype is installed. Possible it is related to the fact that skype client is 32-bit application.