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 Bot failed to bind to the game client because of an AgentLoadException

Joined
Nov 7, 2017
Messages
5
I knows there's been a lot of these posts, but they seem to mostly be for Windows. I'm trying to run this on a Mac with no luck. I've tried these things so far:

-Loading the client from Runemate and binding it that way
-Manually loading the client and then trying to bind
-Uninstalling and reinstalling

I downloaded the version for Mac, but when I click it nothing opens. The standalone file is the only thing that I can get to load.

Hopefully someone can help.
 
Joined
Jun 24, 2014
Messages
172
I don't think anyone has found a solution for macOS (for Windows there are solutions).
I've tried using OpenJDK 8 and 9 and still no luck.
Problem is Java for macOS is 64-bit, and the stuff RuneMate needs to do (cross-JVM magic to bind to the OSRS client) needs to be done with a 32-bit JRE.
There's no 32-bit Java for macOS.
You could go ahead and try to compile OpenJDK 9 to 32-bit binaries and see if it works with RuneMate. I doubt it will be easy.

tl;dr there's still no solution to this for macOS.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
I don't think anyone has found a solution for macOS (for Windows there are solutions).
I've tried using OpenJDK 8 and 9 and still no luck.
Problem is Java for macOS is 64-bit, and the stuff RuneMate needs to do (cross-JVM magic to bind to the OSRS client) needs to be done with a 32-bit JRE.
There's no 32-bit Java for macOS.
You could go ahead and try to compile OpenJDK 9 to 32-bit binaries and see if it works with RuneMate. I doubt it will be easy.

tl;dr there's still no solution to this for macOS.
For non-windows operating systems the only architecture requirement is that the JDK that RuneMate Spectre is running on and the JDK that RS is running on are the same. Note that I am saying JDK however, and Java 9 compatibility is still not officially supported on any operating system. The recommended JDK is Java 8u144
 
Joined
Nov 7, 2017
Messages
1
Any idea why it would happen on windows 10? been running great for a few days, now it will not load at all, keeps saying failed to bind;agentloadexeption.
 
Joined
Jun 24, 2014
Messages
172
the only architecture requirement is that the JDK that RuneMate Spectre is running on and the JDK that RS is running on are the same.

This is good to know. I'll try doing more stuff now.
 
Any idea why it would happen on windows 10? been running great for a few days, now it will not load at all, keeps saying failed to bind;agentloadexeption.

There are many threads about this issue on Windows and it being solved.
 
InfoSec Fanatic
Joined
Dec 13, 2017
Messages
7
@Daniel did you manage to find a fix for working on Mac? I'm hitting the same problem, things are running on my windows machine fine - but I'd much rather it up and running on my mac system.
cheers
 
Joined
Feb 7, 2017
Messages
269
[Debug] Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
[Debug] Java Version: 8u121 x64 (Oracle Corporation)
[Debug] Maximum Heap Size: 683MB
[Debug] RuneMate Version: 2.75.0
[Debug] Operating System: Mac OS X x64
[Clouse] Downloaded 1000 human mouse movements selected for you by Clouse.
com.sun.tools.attach.AgentLoadException: Unable to add JAR file to system class path
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(nw:114)
at nul.iiiiIIiiiiiIi.catch(xjc:105)
at nul.iiIIiIiiiIIIi.run(gkc:208)
com.sun.tools.attach.AgentLoadException: Unable to add JAR file to system class path
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(nw:114)
at nul.iiiiIIiiiiiIi.catch(xjc:105)
at nul.iiIIiIiiiIIIi.run(gkc:208)
Checking for a new game client every second for two minutes or until one is found.
Found a new game instance after 15 seconds.
com.sun.tools.attach.AgentLoadException: Unable to add JAR file to system class path
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(nw:114)
at nul.iiiiIIiiiiiIi.catch(xjc:105)
at nul.iiIIiIiiiIIIi.run(gkc:208)
00:00:00 INFO Downloading 2 missing or outdated cloud resources.
00:02:14 INFO Failed to bind to the game client because of an AgentLoadException
00:03:41 INFO Failed to bind to the game client because of an AgentLoadException
00:08:24 INFO Attempting to start official client. If it does not open shortly please do so manually.
00:10:38 INFO Failed to bind to the game client because of an AgentLoadException



Still don't think its working for Mac
 
InfoSec Fanatic
Joined
Dec 13, 2017
Messages
7
[Debug] Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
[Debug] Java Version: 8u121 x64 (Oracle Corporation)
[Debug] Maximum Heap Size: 683MB
[Debug] RuneMate Version: 2.75.0
[Debug] Operating System: Mac OS X x64
[Clouse] Downloaded 1000 human mouse movements selected for you by Clouse.
com.sun.tools.attach.AgentLoadException: Unable to add JAR file to system class path
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(nw:114)
at nul.iiiiIIiiiiiIi.catch(xjc:105)
at nul.iiIIiIiiiIIIi.run(gkc:208)
com.sun.tools.attach.AgentLoadException: Unable to add JAR file to system class path
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(nw:114)
at nul.iiiiIIiiiiiIi.catch(xjc:105)
at nul.iiIIiIiiiIIIi.run(gkc:208)
Checking for a new game client every second for two minutes or until one is found.
Found a new game instance after 15 seconds.
com.sun.tools.attach.AgentLoadException: Unable to add JAR file to system class path
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(nw:114)
at nul.iiiiIIiiiiiIi.catch(xjc:105)
at nul.iiIIiIiiiIIIi.run(gkc:208)
00:00:00 INFO Downloading 2 missing or outdated cloud resources.
00:02:14 INFO Failed to bind to the game client because of an AgentLoadException
00:03:41 INFO Failed to bind to the game client because of an AgentLoadException
00:08:24 INFO Attempting to start official client. If it does not open shortly please do so manually.
00:10:38 INFO Failed to bind to the game client because of an AgentLoadException



Still don't think its working for Mac

Same issue here. I asked in the slack channel and based on their response and my tests, getting java to run in 32bit on a Mac isn't possible since Java 6 (I think that was it, not 100% sure) so... ultimately, I guess it's not possible unless there's a global update to work on 64bit. But that's WAY too big an ask when we can spin up a Windows VM ;)
 
Joined
Jun 24, 2014
Messages
172
@Daniel did you manage to find a fix for working on Mac? I'm hitting the same problem, things are running on my windows machine fine - but I'd much rather it up and running on my mac system.
cheers

Nope. I kinda gave up and I'm drowning with university work.
 
Joined
Feb 7, 2017
Messages
269
I have tried a bunch of different things trying to fix this issue. Uninstalling and reinstalling java as well as runemate multiple times, but nothing seems to work. The log is simplistic and has nothing else but this...

00:00:00 INFO Downloading 2 missing or outdated cloud resources.
00:01:00 INFO Failed to bind to the game client because of an AgentLoadException

If anyone has fixed this on mac please let me know, thanks.
 
InfoSec Fanatic
Joined
Dec 13, 2017
Messages
7
I have tried a bunch of different things trying to fix this issue. Uninstalling and reinstalling java as well as runemate multiple times, but nothing seems to work. The log is simplistic and has nothing else but this...

00:00:00 INFO Downloading 2 missing or outdated cloud resources.
00:01:00 INFO Failed to bind to the game client because of an AgentLoadException

If anyone has fixed this on mac please let me know, thanks.

I've kind of just settled with writing my stuff on Windows for now. I guess you could roll back to a version of OSX which had a 32 bit java, but if you were going to do that I'd personally just spin up a Windows 10 VM and utilise that for your bots. Make a shared folder to allow you to access the scripts on Mac if you still required them.
Apart from that, I haven't found a way to get this working just yet.
 
Joined
Feb 7, 2017
Messages
269
Screen Shot 2017-12-20 at 1.41.42 AM.png
if you're on OSX you can utilize a 64bit JVM as long as RuneScape is also ran on a 64bit JVM. The 32bit JVM restriction applies to windows only.

Do you have any idea what is causing the agent load exception? Basing off what you said it seems to be an issue with the two not running on the same 64 bit. So i'm assuming that the runemate client installs the proper java but the OSRS client from the website has a standard 32 bit?

I just uninstalled runemate and all java versions and reinstalled them both and now when i click on the app for it opens for a split second and then closes before a window appears.
 
Last edited:
Joined
Jan 21, 2017
Messages
1
if you're on OSX you can utilize a 64bit JVM as long as RuneScape is also ran on a 64bit JVM. The 32bit JVM restriction applies to windows only.
Could you please post which java version will work for both runemate and osrs? Is there a version of java that will run both or has the mac runemate client been abandoned? I get an AgentLoadException after I select the account and client to use.
00:00:00 INFO Attempting to start official client. If it does not open shortly please do so manually.
00:00:43 INFO Failed to bind to the game client because of an AgentLoadException
 
Joined
Oct 22, 2017
Messages
4
facing same issue, posting to add visibility. Tried everything I've seen said in the many other threads regarding this. This appears to be the most recent/active thread. Usually use runemate with windows (with no issues), but currently only able to use mac laptop.
 
Joined
Oct 12, 2016
Messages
1
I'm getting the message, failed to bind to the game client because of an AgentLoadExeption on my MacBook Air every time I click start instance. really frustration can anybody help please?
 
Top