This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257016 - Unable to run due to failed dependecy
Summary: Unable to run due to failed dependecy
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.2
Hardware: PC Other
: P1 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 10:17 UTC by antoniocs
Modified: 2015-12-16 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Failed dependency message (9.25 KB, image/png)
2015-12-07 10:17 UTC, antoniocs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antoniocs 2015-12-07 10:17:33 UTC
Created attachment 157692 [details]
Failed dependency message

I initially installed netbeans with support only for php and c/c++. 
After running into some issues I was asked to provide profiler output. I did some investigating and I saw that I needed java to actually view the netbeans profiler output. 

I went to the netbeans website and just downloaded the netbeans full version.
Now when I do ctrl+alt+y to start the profiler and then do the same key shortcut to stop it, I get the attached dialog. I get no other message so I assume the profiler is not outputting any data.

This seems to be a bug, because I installed the full netbeans so it should have installed everything it needed.
If this is not a bug please someone tell me what is missing or how to fix this issue.

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)
User directory: C:\Users\antoniocs\AppData\Roaming\NetBeans\8.1
Cache directory: C:\Users\antoniocs\AppData\Local\NetBeans\Cache\8.1
Comment 1 Tomas Hurka 2015-12-16 09:17:31 UTC
It looks to me that you are running NetBeans full version on JRE. For Java support you have to run NetBeans on JDK. Can you please try to use JDK instead of JRE? Thanks.
Comment 2 antoniocs 2015-12-16 09:53:44 UTC
For someone that is not really into java can you maybe point me to a tutorial of how I do the switch, please?
Comment 3 Tomas Hurka 2015-12-16 09:59:55 UTC
(In reply to antoniocs from comment #2)
> For someone that is not really into java can you maybe point me to a
> tutorial of how I do the switch, please?

OK.
1) download JDK for your platform here: <http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html>
2) install JDK
3) start NetBeans with above JDK using --jdkhome switch. Details are here: <http://wiki.netbeans.org/FaqJdkHome>
Comment 4 antoniocs 2015-12-16 10:25:02 UTC
I have changed the netbeans_jdkhome in the netbeans.conf to point to JDK and not JRE.
This has resolved the issue.
Thanks!