prabhakar Reddy G
prabhakar Reddy G

Reputation: 1069

Could not find agent library for JRebel

I have added the correct JRebel path to my local.properties file. but then am facing below error

Could not find agent library C:Userspramod.p2poolpluginsorg.zeroturnaround.eclipse.embedder_2018.1.5.RELEASEjrebellibjrebel64.dll in absolute path, with error: Can't find dependent libraries

here is my configuration:

tomcat.javaoptions=agentpath:"C:\Users\pramod.p2\pool\plugins\org.zeroturnaround.eclipse.embedder_2018.1.5.RELEASE\jrebel\lib\jrebel64.dll"

Please do let me know, if am missing something here.

Upvotes: 3

Views: 5713

Answers (3)

Tugba Alparslan
Tugba Alparslan

Reputation: 193

There are missing parts in your configuration.

To find the active jrebel agentpath for your project, navigate to

intellij->file->settings->jrebel&xrebel->JRebel startup->run locally from command line.

Copy the path you see. Use forward slashes (/) instead of backwards

start to path like this

tomcat.debugjavaoptions=-agentpath:"/mnt/c/Users/

and finally change the jrebel64.dll text in the path to jrebel64.so.

Paste this path to local.properties and run ant server.

enter image description here

Upvotes: 0

Henri Viik
Henri Viik

Reputation: 664

Use forward slashes (/) instead of backwards one (\) for file path.

Upvotes: 1

Murka
Murka

Reputation: 361

Can't find dependent libraries

Means that the JVM found the JRebel agent, but was unable to link its dependent dll-s.

To figure out what exactly is missing on your system, you can run the http://www.dependencywalker.com tool or similar against jrebel64.dll

Information about Windows version and any other system information would also help figure out why it's incompatible.

Upvotes: 0

Related Questions