-
Notifications
You must be signed in to change notification settings - Fork 36
UnsatisfiedLinkError on release jar #37
Comments
Are you using one of the supported platforms? What is the exact error with stacktrace? Which jar did you use? |
I'm on Windows 10 and I used the "java-discord-rpc-2.0.1-all" jar file |
I just tested this with a completely bare project on windows 10:
Since a bare project works fine, I assume this is an issue with setup. Try using gradle instead which is a proper build tool rather than the built-in IDE artifact builder. The README explains how to add this as a gradle dependency. See Gradle Guides and java-discord-rpc as gradle dependency |
I'm assuming this was resolved since there hasn't been a response in over a week. |
Sadly not. I've not been able to fix the problem |
same problem but on linux |
Same answer but for linux then. Use gradle and make sure your setup works. |
I've downloaded and imported the library to my project (from the "Releases" page), and for some reason, whenever I run my code, it spits out a stacktrace error (UnsatisfiedLinkedError) that it can't load the library.
Java SDK version: 1.8.0_191
Images of the code, stacktrace errors etc.: https://imgur.com/a/9WgX5fq
The text was updated successfully, but these errors were encountered: