Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Does RuneMate work on Linux?

Joined
Jun 29, 2017
Messages
2
So far I've tried:

Running both RSU and RuneMate with OpenJDK x86, OpenJDK x64, Oracle JRE x86, Oracle JRE x64, the X64 JRE that is packaged with the RuneMate linux install script

With both binaries as root and a non-root user.

I have tried using both i3 and XFCE also.

None of this has allowed me to attach RuneMate to an OSRS client. If I did something wrong I would love to know so I can begin writing scripts sooner. If not and it doesn't work then you should probably remove the linux installer.
 
Client Developer
Joined
Oct 12, 2015
Messages
3,760
It works for linux, what are you getting when you attempt to attach to RS?
 
Joined
Dec 24, 2015
Messages
24
From personal experience, when using
Code:
./RuneMate
it would have problems connecting to the client. I made a thread about it and was told to change my Java version since I was using OpenJDK and still had the same problem. The solution I found was to just use
Code:
java -jar RuneMate.jar
and it worked flawlessly.

Hope this helps.
 
Joined
Jun 29, 2017
Messages
2
From personal experience, when using
Code:
./RuneMate
it would have problems connecting to the client. I made a thread about it and was told to change my Java version since I was using OpenJDK and still had the same problem. The solution I found was to just use
Code:
java -jar RuneMate.jar
and it worked flawlessly.

Hope this helps.

Yeah I know you tried to help but I need more information than how you run it. What version of oracle's jdk/jre are you using? What architecture of jre? What architecture of cpu? Do I need x86 or x64? What OS? What jre did you have RSU running? Did you run anything as root?

I spent literally 4 hours trying different combinations of these settings and saw 0 progress across 2 different machines. And yes, I tried using both the RuneMate install script and the standalone jar and neither came close to attaching.



It works for linux, what are you getting when you attempt to attach to RS?

Since you gave me nothing to help with determining architecture/jre versions I am just going to use the JRE that is installed by the RuneMate install script which is Oracle's x64 1.8.0_121 release.

1) Errors from running RuneMate binary and RSU as non-sudo
** (java:29465): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Qe1U6dDDU3: Connection refused
java.lang.UnsatisfiedLinkError: no attach in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at sun.tools.attach.LinuxVirtualMachine.<clinit>(xu:8771)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(mt:82)
at com.sun.tools.attach.VirtualMachine.attach(oo:945)
at nul.iiiiiiiIIiIii.final(fbc:207)
at nul.iiiiIiiIiiiII.run(hzb:56)

java.lang.NoClassDefFoundError: Could not initialize class sun.tools.attach.LinuxVirtualMachine
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(mt:82)
at com.sun.tools.attach.VirtualMachine.attach(oo:945)
at nul.iiiiiiiIIiIii.final(fbc:207)
at nul.iiiiIiiIiiiII.run(hzb:56)

[Biostatistics] An error of type FileNotFoundException occurred while trying to retrieve the movements of clouse pack dedI


2) Errors from running RuneMate binary and RSU as sudo

java.lang.UnsatisfiedLinkError: no attach in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at sun.tools.attach.LinuxVirtualMachine.<clinit>(xu:8771)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(mt:82)
at com.sun.tools.attach.VirtualMachine.attach(oo:945)
at nul.iiiiiiiIIiIii.final(fbc:207)
at nul.iiiiIiiIiiiII.run(hzb:56)

[Biostatistics] An error of type FileNotFoundException occurred while trying to retrieve the movements of clouse pack dedI



3) Running RuneMate standalone jar and RSU as non-root

** (java:10495): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Qe1U6dDDU3: Connection refused
Exception in thread "10938 - Auto Miner" java.lang.UnsatisfiedLinkError: no attach in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at sun.tools.attach.LinuxVirtualMachine.<clinit>(xu:8771)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(mt:82)
at com.sun.tools.attach.VirtualMachine.attach(oo:945)
at nul.iiiiiiiIIiIii.final(fbc:207)
at nul.iiiiIiiIiiiII.run(hzb:56)


4) Running RSU and RuneMate standalone as root
** (java:10495): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Qe1U6dDDU3: Connection refused
Exception in thread "10938 - Auto Miner" java.lang.UnsatisfiedLinkError: no attach in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at sun.tools.attach.LinuxVirtualMachine.<clinit>(xu:8771)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(mt:82)
at com.sun.tools.attach.VirtualMachine.attach(oo:945)
at nul.iiiiiiiIIiIii.final(fbc:207)
at nul.iiiiIiiIiiiII.run(hzb:56)



So if it doesn't work using the JRE that you provide with your installer, I don't know what to do. I have exhausted my options so I feel like this is not caused by an error on my end. If someone that has managed to get this shit to run on linux could come in here and just say what you fucking did it would be reaaaaally nice.
 
Joined
Dec 24, 2015
Messages
24
Version:
Code:
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

OS:
Code:
Ubuntu 16.06 LTS - 64bit

JRE - See Above.

I'm not using root privileges.
 
Joined
Mar 14, 2017
Messages
156
Version:
Code:
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

OS:
Code:
Ubuntu 16.06 LTS - 64bit

JRE - See Above.

I'm not using root privileges.
Yea it does work on linux, but you need to have root
 
Top