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 133178 - [PLAN6.5] Installer bootstrap w/ JRE
Summary: [PLAN6.5] Installer bootstrap w/ JRE
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Libor Fischmeistr
URL: http://wiki.netbeans.org/InstallerBoo...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 09:59 UTC by Alexei Mokeev
Modified: 2014-02-10 14:15 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Mokeev 2008-04-18 09:59:35 UTC
http://wiki.netbeans.org/InstallerBootstrapJRE
Comment 1 Chris Kutler 2008-07-16 23:47:38 UTC
Hi. I think that this is a wonderful thing that will help adoption of NetBeans Ruby IDE. I noticed that in the design
for the download page (http://wiki.netbeans.org/DownloadPageFor65), it actually says implies need the JDK to install the
Ruby bundle. I wanted to test this out, but the installer wants me to give the path to the JDK. Do you now about when I
will be able to test this so that I can write about it in the 6.5 setting up tutorial?

Does the inclusion of the GlassFish server in the Ruby bundle impact this in any way? Will they still be able to install
the Ruby bundle with GlassFish and run their Rails apps in GlassFish without a JDK? Super!
Comment 2 dlipin 2008-07-18 08:04:42 UTC
> I wanted to test this out, but the installer wants me to give the path to the JDK. Do you now about when I
will be able to test this so that I can write about it in the 6.5 setting up tutorial?
See Issue 138230 and Issue 139880.
I don`t have the estimate on when the first one would be fixed, but the latter would be fixed early next week.

> Does the inclusion of the GlassFish server in the Ruby bundle impact this in any way? 
No, only presense of Java-related modules affects the requirement on JDK.
> Will they still be able to install the Ruby bundle with GlassFish and run their Rails apps in GlassFish without a 
JDK? Super!
I guess, yes, CC-ing Vince for confirmation.
Comment 3 dlipin 2008-07-22 16:00:40 UTC
CC-ing Jano.
One of the main open questions is whether to put the JRE during installation.
I think that the reasonable place to put this private JRE at the same level directory as all the other NetBeans 
clusters. Additionally we should not forget that uninstaller (in NetBeans folder) should run on this private JRE as 
well. After uninstallation, this private JRE should be removed as well.

The other critical point is GlassFish V3 - we also create uninstaller for it. So if user, firstly, uninstall NetBeans 
and then tries to uninstall V3 then he gets an error message about missing JRE/JDK. The workaround is to uninstall V3 
_together_ with the NetBeans IDE.

Using of bootstrap JRE gives about 13-21MB (JDK5) or 14-24MB (JDK6) of extra download size.
Comment 4 jrojcek 2008-07-22 18:01:19 UTC
Why don't we just install a full featured JRE? I think the installer should check whether a suitable JRE is installed on user's machine. If yes, don't install the new 
JRE, use the existing one. If not, install it as a regular JRE installation. The standalone JRE installation should have its own uninstaller, updater, etc.

Comment 5 dlipin 2008-07-22 18:08:26 UTC
Looks like an option.. but that leads to another 15-25MB of d/l size (30-50MB totally including bootstap JVM).
Comment 6 jrojcek 2008-07-22 18:18:37 UTC
Ccing Pavel as this clearly goes beyond the UI decision.
Comment 7 Jiri Rechtacek 2012-10-07 12:58:46 UTC
Assigned to new owner.