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.
Created attachment 142505 [details] Installer missing JDK. The documentation clearly states, that JDK is not required for the C/C++ bundle: https://netbeans.org/community/releases/74/install.html#requiredsoftware , "The PHP and C/C++ NetBeans bundles only require the Java Runtime Environment (JRE) 7 to be installed and run. JDK 7 is required if you are planning to use any of the Java features. " However, the installer won't run, because it says that JDK is missing. See the screenshot. The same with 7.4 and with 7.3.1. Installer tried was: http://dlc.sun.com.edgesuite.net/netbeans/7.4/final/bundles/netbeans-7.4-cpp-windows.exe
Hello, thanks for the report. Could you please attach installer log? Run installer with "--verbose --output <log file>" arguments. Thanks
Created attachment 142528 [details] Installer log with --verbose, from 7.4
Thanks for quick response. Unfortunatelly it seems that your JRE is not properly installed cause it's not found. Try to pass path to JRE by --javahome argument. Example: netbeans-7.4-cpp-windows.exe --javahome <path to JRE>
The installer finds the JRE at the default location. Maybe the message of the installer is to be updated, so it does not say "JDK is required", but it says "JRE is required", because that's the thing the IDE needs to run.
(In reply to czirkos from comment #4) > The installer finds the JRE at the default location. Maybe the message of > the installer is to be updated, so it does not say "JDK is required", but it > says "JRE is required", because that's the thing the IDE needs to run. I don't understand the first sentence. If the installer has found the JRE then the error message shouldn't appear. And from the log I can see that no Java (JRE or JDK) was found. Please try to clarify this issue. I agree with you that the error message might be confusing and should be fixed. Is that the only problem now?
Yes, with JRE installed, it works. The message is misleading.
(In reply to czirkos from comment #6) > Yes, with JRE installed, it works. The message is misleading. Good to know, thanks.