Closed wyatt-herkamp closed 5 years ago
What OS are you using, and what Version?
I am using Fedora(Linux) Version 0.9-beta.4
Is the temp library being created in your temp-directory? It should be located in TEMP\discord-rpc\discord-rpc.so
If you don't reply until tomorrow noon, I'll close this issue as it does not seem important anymore.
That directory is not created. I am sorry. I forgot.
Try updating to version0.9-BETA.6
And tell me if it's still broken.
Still broken. https://paste.ee/p/GGssI All files that are in my project folder. https://paste.ee/p/mSHlP
Do you shade the Discord-RPC Artifact?
Yes
We were completely unable to reproduce this issue, therefore we can only assume it's an issue with your application or your system environment.
This issue will be closed.
I tried to make a rpc with https://github.com/MinnDevelopment/java-discord-rpc it worked fine.
That's motivating. I'm going to further investigate by attempting to simulate your desktop environment here. Unlocking this because of my own stupid curiosity.
Yeah,
The RPC has completely changed and without an updated code sample I can't help any further, though your issue seems related to #16. Please wait for the proper fix to come out.
This issue will be closed due to version mismatch and a fix is set to go out later today.
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.UnsatisfiedLinkError: /media/storage/Programming/PersonalProjects/KingTux/null/discord-rpc.jar/discord-rpc.so: /media/storage/Programming/PersonalProjects/KingTux/null/discord-rpc.jar/discord-rpc.so: failed to map segment from shared object at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at net.arikia.dev.drpc.DiscordRPC.loadDLL(DiscordRPC.java:106) at net.arikia.dev.drpc.DiscordRPC.<clinit>(DiscordRPC.java:21) at me.kingtux.kingtux.Main.main(Main.java:30) ... 11 more Exception running application me.kingtux.kingtux.Main
Code