IDEA-9 startup issues with ypagent
I just downloaded the latest IDEA-9 build (93.83) and got the following error
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: yjpagent
I ended up removing the following line from bin/idea.vmoptions
-agentlib:yjpagent=disablej2ee,disablecounts,disablealloc,sessionname=IntelliJId
ea90
and thereafter there were no issues.
Environment
- Ubuntu Linux 9.10 2GB (dual core)
- IntelliJ IDEA 9 (build 93.83)
- Java 6
Please sign in to leave a comment.
Are you running Java 64 bit?
BTJ
Yes I am. I have installed the 64 bit version of Ubuntu 9.10 so I'm pretty sure that it is running 64 bit Java. Are there issues associated with 64 bit Java? I know that on 64 bit platforms only the server version of the JVM runs with longer garbage collection times and a different garbage collection algorithm.
Yes... The problem is that the libraries that IDEA have inclued for the YourKit profiler, is only 32 bits.. So you either need to download 64 bits libs for YourKit or disable the ypagent by removing the line you have removed...
BTJ
Thanks very much. The information you provided is very useful.