Hi guys,
I'm using the latest version of YourKit Java Profiler (build 14114). Currently the integration with latest version of Netbeans (83.0.1 or 8.0.2) is not working. When I want to integrate, I got the "integration successful" but in fact nothing happened in netbeans..
Any ideas when the integration will be possible? Or maybe this is a bug I don't know..
Netbeans 8.0.2
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Netbeans 8.0.2
We cannot reproduce the problem. The integration works just fine for us.
Please ensure you have run the "Integrate with IDE" wizard from the profiler UI after installing the new NetBeans version.
Please ensure you have run the "Integrate with IDE" wizard from the profiler UI after installing the new NetBeans version.
-
- Posts: 5
- Joined: Mon Dec 08, 2014 10:51 am
Re: Netbeans 8.0.2
Well I did but nothing shows up in Netbeans..
Also note that I launch my Netbeans with a "--cachedir D:\\place" option in order to store all the cache in another drive system than the installation, could that a source of problem?
Anyway, is there a log somewhere of YourKit Java profiler so that I could maybe see the debug log when doing the Netbeans integration?
Also note that I launch my Netbeans with a "--cachedir D:\\place" option in order to store all the cache in another drive system than the installation, could that a source of problem?
Anyway, is there a log somewhere of YourKit Java profiler so that I could maybe see the debug log when doing the Netbeans integration?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Netbeans 8.0.2
Yes. What is the content of <NetBeans directory>\etc\netbeans.conf ?could that a source of problem?
Anyway, please try running NetBeans without --cachedir to see if this solves the problem.
-
- Posts: 5
- Joined: Mon Dec 08, 2014 10:51 am
Re: Netbeans 8.0.2
Hi,
Sorry for the late answer I was not noticed by email..
So your answer gave me some hints. I was having indeed this in my Netbeans.conf
And I was launching Netbeans with
So when I removed the "--userdir" I saw the your kit profiler. So I removed the from the launcher of Netbeans. And instead I modified the netbeans.conf to :
And then I launched the Your kit profiler, did the IDE integration again and now it's working!
So thank you for your answers!
Keep up the good work
Sorry for the late answer I was not noticed by email..
So your answer gave me some hints. I was having indeed this in my Netbeans.conf
Code: Select all
netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/8.0.1"
netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/8.0.1"
Code: Select all
--userdir D:\Netbeans --cachedir D:\Netbeans\Cache
Code: Select all
--userdir D:\Netbeans --cachedir D:\Netbeans\Cache
Code: Select all
netbeans_default_userdir="D:\Netbeans"
netbeans_default_cachedir="D:\Netbeans\Cache"
So thank you for your answers!
Keep up the good work
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Netbeans 8.0.2
Hi,
Thank you for sharing your solution.
Indeed, the wizard parses netbeans.conf and replaces ${DEFAULT_USERDIR_ROOT} with appropriate value. The wizard of course cannot predict what --userdir you will specify in the future, and whether you will use this command line option at all.
So your solution to explicitly put the actual values in netbeans.conf is great and likely the only possible one in this situation.
Best regards,
Anton
Thank you for sharing your solution.
Indeed, the wizard parses netbeans.conf and replaces ${DEFAULT_USERDIR_ROOT} with appropriate value. The wizard of course cannot predict what --userdir you will specify in the future, and whether you will use this command line option at all.
So your solution to explicitly put the actual values in netbeans.conf is great and likely the only possible one in this situation.
Best regards,
Anton