IDEA integration problem

Questions about YourKit Java Profiler
Post Reply
bluestreak
Posts: 4
Joined: Mon Aug 04, 2014 10:18 am

IDEA integration problem

Post by bluestreak »

I have IDEA 12.1.1 and YourKit 2013 build 13066 64Bit. I've done IDE integration from YourKit but when I try to profile application from IDEA i get this error message:

Error running EventLogger: No valid YourKit Java Profiler plugin configuration settings are found: file C:\Users\43847466\.yjp\ide.txt is missing or is obsolete To solve the problem: 1) Launch YourKit Java Profiler 2) Run "Tools | Integrate with IDE...

Any pointers how to resolve this?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDEA integration problem

Post by Anton Katilin »

Are you running IDEA and the profiler under the same user, in particular, NOT as an administrator?

Is 43847466 your normal user name and C:\Users\43847466 your user home?
bluestreak
Posts: 4
Joined: Mon Aug 04, 2014 10:18 am

Re: IDEA integration problem

Post by bluestreak »

Both run as the same user, 43847466 is the name of the user.

System has privileged guard, i tried running both IDEA and profiler with and without privileged guard to same effect.

Home is a bit ambiguous. User home is C:\Users\43847466 but system has these env variables set:

HOMEDRIVE
HOMEPATH
HOMESHARE

pointing elsewhere.
bluestreak
Posts: 4
Joined: Mon Aug 04, 2014 10:18 am

Re: IDEA integration problem

Post by bluestreak »

Can i create ide.txt manually?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDEA integration problem

Post by Anton Katilin »

Please instead create the environment variable YOURKIT_HOME pointing to the directory with YourKit files.

It can be under your actual home directory, e.g. C:\Users\43847466\YourKit. Please ensure it's on a local disk, not network, for best performance.

Let it be a system variable, it should be visible to IDEA and YourKit.

Please ensure neither of them is running after setting the variable, then start the profiler and re-run the integration wizard.
bluestreak
Posts: 4
Joined: Mon Aug 04, 2014 10:18 am

Re: IDEA integration problem

Post by bluestreak »

Thank you Anton, this variable did the trick. Everything works perfectly now.
Post Reply