Welcome!

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

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Bug "Acces denied. Java agents are not allowed"

Joined
Jun 20, 2015
Messages
8
Could someone clarify this for me please?
I'm trying to run runemate with Intellij IDE and start creating scripts with it but I can't seem to even log in.

"
"C:\Program Files (x86)\Java\jdk1.8.0_101\bin\java" "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\lib\idea_rt.jar=23939:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2017.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\rt.jar;C:\Users\Jari-PC\IdeaProjects\Runemate first script\out\production\Runemate first script;C:\Users\Jari-PC\IdeaProjects\Runemate first script\RuneMate.jar" com.runemate.boot.Boot -sdk
[Debug] Java Home: C:\Program Files (x86)\Java\jdk1.8.0_101\jre
[Debug] Java Version: 8u101 x86 (Oracle Corporation)
[Debug] RuneMate Version: 2.7.4
[Debug] Operating System: Windows 8.1 x64
mrt 23, 2017 1:41:29 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Access denied. Java agents are not allowed.
Access denied. Java agents are not allowed.
"
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
IntelliJ uses an agent to attach to the process for debugging, which runemate blocks.
What IJ version are you using?
 
Joined
Jun 20, 2015
Messages
8
IntelliJ IDEA 2017.1
Build #IC-171.3780.107, built on March 22, 2017
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 8.1 6.3
Should be the latest version, I installed it yesterday.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
Should be the latest version, I installed it yesterday.
Yeah, IntelliJ introduced this with the 2017 version afaik, I'm still on 2016.3 because of this.

@Arbiter @Cloud you should whitelist the intellij agent if possible, I doubt they will stop using agents any time soon.

Edit: For now you should get your hands on an earlier version of IntelliJ or don't use its debugger.
 
Joined
Apr 21, 2015
Messages
389
Yea, I upgraded and ran into the same problem last night. Such a shame I had to downgrade to 2016.3 though.

Note,
I did all of this while I was drunk last night so I spent like 20 minutes comparing setting by setting in Intellij too only to later realize I imported my old settings...whoops
 
Joined
Jun 20, 2015
Messages
8
Yea, I upgraded and ran into the same problem last night. Such a shame I had to downgrade to 2016.3 though.

Note,
I did all of this while I was drunk last night so I spent like 20 minutes comparing setting by setting in Intellij too only to later realize I imported my old settings...whoops
I wonder when this will be fixed though...
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
To run using intellij without hitting this error you must run in Debugupload_2017-3-27_21-32-35.png
Credits: @Aidden
 
Joined
Dec 10, 2014
Messages
3,377
Code:
C:\Program Files (x86)\Java\jdk1.8.0_101\jre\lib\management-agent.jar
May be the issue?
 
Top