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

Bug UnsatisfiedLinkError: No Attach In java.library.path

Discussion in 'Client & Site Support' started by Reazons, Jun 26, 2017.

  1. Reazons

    Joined:
    Dec 24, 2015
    Messages:
    24
    Likes Received:
    3
    Hey RuneMate members, just trying to get RM Spectre setup on my linux machine and running into this error:

    Code (Text):
    1. java.lang.UnsatisfiedLinkError: no attach in java.library.path
    2.     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    3.     at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    4.     at java.lang.System.loadLibrary(System.java:1122)
    5.     at sun.tools.attach.LinuxVirtualMachine.<clinit>(vv:16295)
    6.     at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(pw:86)
    7.     at com.sun.tools.attach.VirtualMachine.attach(mt:17592)
    8.     at nul.IIiIiiiIiIiIi.class(kfc:115)
    9.     at nul.iiIIiiiIiIIIi.run(fcc:104)
    10.  
    Imgur: The most awesome images on the Internet

    Anyone able to possibly figure out what is causing it or how i can go about fixing it?
     
  2. Fonrus

    Joined:
    Dec 1, 2016
    Messages:
    59
    Likes Received:
    20
    Go to a terminal and execute these commands and report back:
    Code (Text):
    1.  
    2. java -version
    3.  
     
  3. Reazons

    Joined:
    Dec 24, 2015
    Messages:
    24
    Likes Received:
    3
     
  4. Fonrus

    Joined:
    Dec 1, 2016
    Messages:
    59
    Likes Received:
    20
    Uninstall OpenJDK and instead install Oracle's equivalent.
     
  5. Reazons

    Joined:
    Dec 24, 2015
    Messages:
    24
    Likes Received:
    3
    Code (Text):
    1. danny@ubuntu:runemate$ ./RuneMate
    2. testing JVM in /home/danny/runemate/jre ...
    3. Jun 26, 2017 11:30:30 PM java.util.prefs.FileSystemPreferences$1 run
    4. INFO: Created user preferences directory.
    5. [Debug] Java Home: /home/danny/runemate/jre
    6. [Debug] Java Version: 8u121 x64 (Oracle Corporation)
    7. [Debug] Maximum Heap Size: 683MB
    8. [Debug] RuneMate Version: 2.45.0
    9. [Debug] Operating System: Linux x64
    10. Downloading 2 missing or outdated cloud resources.
    11. [Web Services] Connection authorized.
    12. Scanned for and identified 1 game frames in 1494ms.
    13. Scanned for and identified 1 game frames in 1322ms.
    14. java.lang.UnsatisfiedLinkError: no attach in java.library.path
    15.     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    16.     at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    17.     at java.lang.System.loadLibrary(System.java:1122)
    18.     at sun.tools.attach.LinuxVirtualMachine.<clinit>(rs:14019)
    19.     at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(vo:223)
    20.     at com.sun.tools.attach.VirtualMachine.attach(ky:7138)
    21.     at nul.IIIiIiiIIiIII.this(fcc:217)
    22.     at nul.IIIIiiiIIIiii.run(gbc:145)
    23.  
    24. Scanned for and identified 1 game frames in 1337ms.
    25.  
    Java -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)
    4.  
     
  6. nickerwhat

    Joined:
    Aug 19, 2017
    Messages:
    3
    Likes Received:
    0
    Running Ubuntu. Getting the same error in my log file:
    java.land.UnsatisfiedLinkError: no attach in java.library.path
    The syptom of this error: wont let me start a bot after runemate launches runescape.

    I confirmed that I am using jdk1.8.0_151 (32 bit) by checking $ java -version and $ sudo update-alternatives --config java
     
  7. Wang Fire

    Joined:
    Sep 21, 2019
    Messages:
    1
    Likes Received:
    0
    I used the linux bash script bot provided by RuneMate to install java and RuneMate. I had this issue and couldn't find any answers here, so this was my fix:
    1. Download jdk8 from here (you will need an Oracle account to download "end of the line" versions of Java, creating an account is free but annoying): Java SE Development Kit 8 - Downloads
    2. I use Ubuntu so I just extracted the .tar.gz file
    3. cd into the jdk_folder/bin and run ./java -jar /path/to/RuneMate.jar

    Hope this helps someone else out :)
     

Share This Page

Loading...