Closed Flippeh closed 4 years ago
Microsoft.CognitiveServices.Speech.java.bindings.dll
I checked my pom.xml and it is the same as yours and yet I'm still getting this error.
Could it be an issue with the key I'm using? I'm not super sure how this works.
No, It should not be your key since JVM can't find the native dll. The java code is just a wrapper. Verifying key is happening in the native code.
One workaround that I can think of is that you can put C:\Users\Kiffer.m2\repository\com\microsoft\cognitiveservices\speech\client-sdk\1.8.0\client-sdk-1.8.0\ASSETS\windows64 into your PATH.
Closing the issue because no update since December, please re-open if still valid.
Hello Flippeh,
I followed the java quickstart and I could not reproduce the UnSatisfiedLinkeError that you saw.
The Speech SDK implicitly loads at least two native dlls, Microsoft.CognitiveServices.Speech.core.dll and Microsoft.CognitiveServices.Speech.java.bindings.dll. My guess is that the UnsatisfiedLinkError is due to JVM can't find them, for some reason. More details, https://examples.javacodegeeks.com/java-basics/exceptions/java-lang-unsatisfiedlinkerror-how-to-handle-unsatisfied-link-error/
Here is my pom.xml `
` BTW, I could have my speech from a microphone correctly recognized.