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 254755 - netbeans 8.0.2 and jdk8u60 co-bundle does not install the JDK
Summary: netbeans 8.0.2 and jdk8u60 co-bundle does not install the JDK
Status: RESOLVED WORKSFORME
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 8.0.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 16:10 UTC by andygegg
Modified: 2015-09-09 07:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (2.56 MB, application/octet-stream)
2015-08-27 09:05 UTC, andygegg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andygegg 2015-08-26 16:10:51 UTC
On Win10 64bit.  Installation of the co-bundle reports the JDK is NOT installed and leaves the IDE unusable.  Indeed, the JDK is not in the expected (or any other) place.  Installing the JDK afterwards still leaves the IDE unusable (i.e. no option to do anything but a free form project).

Installing the JDK and then installing the co-bundle over the top of it seems to work. During installation it notes the JDK is already present.  On first use to run a minimal JavaFX project there was a message output about 'repurposing a JAR'.
Comment 1 Libor Fischmeistr 2015-08-27 06:59:55 UTC
Hi, can you please attach the installer log?

http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report.
Comment 2 andygegg 2015-08-27 09:05:03 UTC
Created attachment 155683 [details]
Log file
Comment 3 andygegg 2015-08-27 09:14:04 UTC
As background, I had installed the previously available co-bundle which used jdk7u25 (or similar) and then installed JDK8u60 on top, this on a clean machine.  This failed to compile a trivial JavaFX project (bugged by someone else already).  When I saw the 8u60 co-bundle I uninstalled Netbeans and the JDK through Windows Programs&Features.  I then installed the 8u60 co-bundle, and this is the attached log file.
Comment 4 Libor Fischmeistr 2015-08-27 13:38:25 UTC
(In reply to andygegg from comment #3)
> As background, I had installed the previously available co-bundle which used
> jdk7u25 (or similar) and then installed JDK8u60 on top, this on a clean
> machine.  This failed to compile a trivial JavaFX project (bugged by someone
> else already).  When I saw the 8u60 co-bundle I uninstalled Netbeans and the
> JDK through Windows Programs&Features.  I then installed the 8u60 co-bundle,
> and this is the attached log file.

Thanks for the log. It looks like the previous installation of the 8u60 i still present, at least at the registers. Maybe it was not properly uninstalled.

Could you please check the Windows registers?
Comment 5 andygegg 2015-08-27 15:00:39 UTC
Thanks for your reply.  I'm not sure what you mean by the registers - from the link in your previous reply I'm guessing at the uninstall section of HKLM and HKCU:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall - is empty

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-base-8.0.2.0.201411181905   - has a number of entries:

"DisplayName"="NetBeans IDE 8.0.2"
"DisplayIcon"="C:\\Program Files\\NetBeans 8.0.2\\bin\\netbeans.exe"
"InstallLocation"="C:\\Program Files\\NetBeans 8.0.2"
"NoModify"=hex(4):01,00,00,00,00,00,00,00
"UninstallString"="\"C:\\Program Files\\NetBeans 8.0.2\\uninstall.exe\""
"Publisher"="NetBeans.org"
"URLUpdateInfo"="http://www.netbeans.org/downloads"
"DisplayVersion"="8.0.2"
"URLInfoAbout"="http://www.netbeans.org"
"Readme"="C:\\Program Files\\NetBeans 8.0.2\\readme.html"
"HelpLink"="http://www.netbeans.org/kb/index.html"
UninstallString = "C:\Program Files\NetBeans 8.0.2\uninstall.exe"
URLInfoAbout = http://www.netbeans.org
URLUpdateInfo = http://www.netbeans.org/downloads

(regedit actually marks the NoModify value as "invalid DWORD (32-bit) value"

If you wanted something other than this, please let me know.
Comment 6 Libor Fischmeistr 2015-09-03 06:55:18 UTC
(In reply to andygegg from comment #5)
> Thanks for your reply.  I'm not sure what you mean by the registers - from
> the link in your previous reply I'm guessing at the uninstall section of
> HKLM and HKCU:
> HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall - is
> empty
> 
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-
> nb-base-8.0.2.0.201411181905   - has a number of entries:
> 
> "DisplayName"="NetBeans IDE 8.0.2"
> "DisplayIcon"="C:\\Program Files\\NetBeans 8.0.2\\bin\\netbeans.exe"
> "InstallLocation"="C:\\Program Files\\NetBeans 8.0.2"
> "NoModify"=hex(4):01,00,00,00,00,00,00,00
> "UninstallString"="\"C:\\Program Files\\NetBeans 8.0.2\\uninstall.exe\""
> "Publisher"="NetBeans.org"
> "URLUpdateInfo"="http://www.netbeans.org/downloads"
> "DisplayVersion"="8.0.2"
> "URLInfoAbout"="http://www.netbeans.org"
> "Readme"="C:\\Program Files\\NetBeans 8.0.2\\readme.html"
> "HelpLink"="http://www.netbeans.org/kb/index.html"
> UninstallString = "C:\Program Files\NetBeans 8.0.2\uninstall.exe"
> URLInfoAbout = http://www.netbeans.org
> URLUpdateInfo = http://www.netbeans.org/downloads
> 
> (regedit actually marks the NoModify value as "invalid DWORD (32-bit) value"
> 
> If you wanted something other than this, please let me know.

Thanks for reply. Sorry for misspelled word... of course I thought Windows registry...

More than netbeans info I am interested in Java ... please look at the HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment weather there is key with 1.8.0_60 (may be also somewhere else).

Thanks
Comment 7 andygegg 2015-09-04 11:15:57 UTC
Hi Libor, thanks for your reply, sorry I've not got back to you more quickly.

The key you wanted exusts and is as follows (exported from regedit):

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_60]
"JavaHome"="C:\\Program Files\\Java\\jre1.8.0_60"
"MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Java\\jre1.8.0_60\\bin\\server\\jvm.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_60\MSI]
"INSTALLDIR"="C:\\Program Files\\Java\\jre1.8.0_60\\"
"JU"=""
"OEMUPDATE"=""
"FROMVERSION"="NA"
"FROMVERSIONFULL"=""
"PRODUCTVERSION"="8.0.600.27"
"EULA"=""
"JAVAUPDATE"="1"
"AUTOUPDATECHECK"="1"
"AUTOUPDATEDELAY"=""
"FullVersion"="1.8.0_60-b27"

Hope this helps!

(I knew you meant 'registry' - I just didn't know which bits of it!)
Comment 8 Libor Fischmeistr 2015-09-08 06:46:52 UTC
(In reply to andygegg from comment #7)
> Hi Libor, thanks for your reply, sorry I've not got back to you more quickly.
> 
> The key you wanted exusts and is as follows (exported from regedit):
> 
> [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_60]
> "JavaHome"="C:\\Program Files\\Java\\jre1.8.0_60"
> "MicroVersion"="0"
> "RuntimeLib"="C:\\Program Files\\Java\\jre1.8.0_60\\bin\\server\\jvm.dll"
> 
> [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.8.0_60\MSI]
> "INSTALLDIR"="C:\\Program Files\\Java\\jre1.8.0_60\\"
> "JU"=""
> "OEMUPDATE"=""
> "FROMVERSION"="NA"
> "FROMVERSIONFULL"=""
> "PRODUCTVERSION"="8.0.600.27"
> "EULA"=""
> "JAVAUPDATE"="1"
> "AUTOUPDATECHECK"="1"
> "AUTOUPDATEDELAY"=""
> "FullVersion"="1.8.0_60-b27"
> 
> Hope this helps!
> 
> (I knew you meant 'registry' - I just didn't know which bits of it!)

Thank you, it looks like what I had in my mind. There is, for some reason, still the record about 8u60, so the installer "thinks" that the 8u60 is already installed.

To fix, maybe you could install JDK 8u60 separately and then uninstall. Check if there is no more 8u60 records in registry. Then run the NB + JDK 8u60 cobundle.

Is that clear? :-)

Thank you
Comment 9 Libor Fischmeistr 2015-09-09 07:27:20 UTC
Closing as Works for me.

Please reopen if the issue is still valid for you. Provide reliable steps to reproduce.