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 252150 - Nightly build installer for C/C++ installs JRE without execution permission for other users
Summary: Nightly build installer for C/C++ installs JRE without execution permission f...
Status: REOPENED
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 02:24 UTC by kazssym
Modified: 2015-04-29 08:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Installer log (2.08 MB, application/octet-stream)
2015-04-29 08:10 UTC, kazssym
Details
registry.xml (16.40 KB, text/xml)
2015-04-29 08:11 UTC, kazssym
Details
Generated netbeans.conf (3.00 KB, application/octet-stream)
2015-04-29 08:13 UTC, kazssym
Details
Error displayed when I double click the desktop shortcut (17.93 KB, image/jpeg)
2015-04-29 08:20 UTC, kazssym
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kazssym 2015-04-29 02:24:45 UTC
Nightly build installer for C/C++ fails to install the bundled JRE probably if a newer JRE is already installed on the system and misconfigures JDK home.

It should provide an option to use an existing JRE or JDK if available instead of the bundled JRE.
Comment 1 Libor Fischmeistr 2015-04-29 07:16:05 UTC
Hi, thanks for report.

Please attach the nbi log - http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report.

You can change path to JRE in the netbeans.conf file. It's purpose, that there is no option to choose some other than bundled jre during installation.

Thanks
Comment 2 kazssym 2015-04-29 08:10:09 UTC
Created attachment 153450 [details]
Installer log
Comment 3 kazssym 2015-04-29 08:11:07 UTC
Created attachment 153451 [details]
registry.xml
Comment 4 kazssym 2015-04-29 08:13:28 UTC
Created attachment 153453 [details]
Generated netbeans.conf
Comment 5 kazssym 2015-04-29 08:20:05 UTC
Created attachment 153454 [details]
Error displayed when I double click the desktop shortcut
Comment 6 kazssym 2015-04-29 08:30:37 UTC
Before installing the nightly build, NetBeans 8.0.2 and JRE/JDK 1.8.0_45 were installed. I installed NetBeans to E: as C: is almost full.

I found the bundled JRE is only accessible from the user who installed NetBeans.  It must be executable from other users, too.