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.
build from aug-19 I started j2se cobundle on WinXP. I left default values for installation dirs. Installer correctly detect there is not enough space on the drive C: I went back, change the drive for D: (where was 15GB free space) and next, but I couldn't finish istallation becasue installer didn't refresh the installation path... so it still calculate space on the drive C: not on D:
Bad! This should be P1. If not free space on C: drive and many on D: no way to install it 'cause installer must have somewhere hardcoded to check space on drive C: Maybe it use $TEMP (which is of course on C: drive) for unpackiging, (P2 becasue of $TEMP variable pointing to C:) but It's problem of InstallShiled not my that it needs double space: on C: drive whera I don't wanna to install it I wanna install it on D: drive where I have enough space. And simply it's not installable then
Sorry, this is not P1, but P2 is IMHO appropriate
hmmm....it doesn't want to work with -is:tempdir switch :-((( that's bad... isn't it realy P1 ?
In such case you must use command line option -is:tempdir <new tmp dir> to force installer to use another tmp dir. Probably appropriate to add to release notes. The same on Linux/Solaris where /tmp is used by default. In addition JDK installer itself wchi is started from jdkbundle installer in silent mode uses some space in TEMP directory and I do not know if it is possible to change it. I would have to somehow find that -is:tempdir was used to change TEMP directory for Install Shield but I do not know if it is possible.
Workaround could be to change environement variables TMP and TEMP. It is not clear why there are 2 variables and what variable to use for that purpose.
I will try to modify custom bat file and set environment variables there according -is:tempdir.
Marek, thanks for your effort and reopening it. I can't find in our LABs Win machine which has enough space on C: drive :-((( For testing purposes (added KW) is required this is fixed.
I suggest to add info that minimal 60 MB is needed on system drive for successful installation.
Pass InstallShield -is:tempdir value to JD installer on Windows. First part of fix. Modified: /cvs/installer/jdkbundle/scripts/custom-install.template new revision: 1.2; previous revision: 1.1 Checking in src/org/netbeans/installer/InstallJ2sdkAction.java; /cvs/installer/jdkbundle/src/org/netbeans/installer/InstallJ2sdkAction.java new revision: 1.2; previous revision: 1.1 Second part of fix will adjust space required for installation on system disk and on tempdir.
Second part of fix - space requirements adjusted for JDK 1.5.0 Modified: /cvs/installer/jdkbundle/src/org/netbeans/installer/InstallJ2sdkAction.java new revision: 1.4; previous revision: 1.3 /cvs/installer/jdkbundle/src/org/netbeans/installer/NbSummaryPanel.java new revision: 1.3; previous revision: 1.2
JDK 1.5.0 takes not more than 140MB on Linux and SolarisSparc/x86. On Windows it takes about 130MB in installation directory and about 120MB on system disk (user settings - cache of MSI and C:\Program Files\Common Files\Java....) jkdbundle installer needs additional temporary space to run: About 120MB for bundled JVM. Its location can be set by InstallShield option -is:tempdir. On Windows JDK installer (which is run by jdkinstaller) needs additional 50MB in tempdir. On Win XP/Win 2K it can be changed by setting -is:tempdir (ie. jdkinstaller passes this option to JDK installer) but NOT on Win NT/Win 98. It means that on Win NT/Win 98 more space is required on system drive to succesfully install jdkbundle even if installation location and temp dir set by -is:tempdir is set on another drive. (See issue #48281 for more info and workaround.)
Verfified