1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Does RuneMate work on Linux?

Discussion in 'Client & Site Support' started by gumibearscuz, Jul 3, 2017.

  1. gumibearscuz

    Joined:
    Jun 29, 2017
    Messages:
    2
    Likes Received:
    0
    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 bot

    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 bots sooner. If not and it doesn't work then you should probably remove the linux installer.
     
  2. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    It works for linux, what are you getting when you attempt to attach to RS?
     
  3. Reazons

    Joined:
    Dec 24, 2015
    Messages:
    24
    Likes Received:
    3
    From personal experience, when using
    Code (Text):
    1. ./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 (Text):
    1. java -jar RuneMate.jar
    and it worked flawlessly.

    Hope this helps.
     
  4. gumibearscuz

    Joined:
    Jun 29, 2017
    Messages:
    2
    Likes Received:
    0
    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 bot and the standalone jar and neither came close to attaching.



    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 bot 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.
     
  5. Reazons

    Joined:
    Dec 24, 2015
    Messages:
    24
    Likes Received:
    3
    Version:
    Code (Text):
    1. java version "1.8.0_131"
    2. Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
    3. Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
    OS:
    Code (Text):
    1. Ubuntu 16.06 LTS - 64bit
    JRE - See Above.

    I'm not using root privileges.
     
  6. sickness0666

    Joined:
    Mar 14, 2017
    Messages:
    156
    Likes Received:
    48
    Yea it does work on linux, but you need to have root
     

Share This Page

Loading...