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 48015 - Problem with insufficient space on disk with temp dir
Summary: Problem with insufficient space on disk with temp dir
Status: CLOSED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords: RELNOTE, T9Y
Depends on:
Blocks:
 
Reported: 2004-08-26 17:32 UTC by dmladek
Modified: 2006-03-24 10:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2004-08-26 17:32:30 UTC
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:
Comment 1 dmladek 2004-08-26 17:43:06 UTC
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
Comment 2 dmladek 2004-08-26 17:45:48 UTC
Sorry, this is not P1, but P2 is IMHO appropriate
Comment 3 dmladek 2004-08-26 18:36:48 UTC
hmmm....it doesn't want to work with -is:tempdir switch :-(((
that's bad... isn't it realy P1 ?
Comment 4 mslama 2004-08-27 08:11:14 UTC
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.
Comment 5 mslama 2004-08-27 08:16:33 UTC
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.
Comment 6 mslama 2004-08-27 08:32:33 UTC
I will try to modify custom bat file and set environment variables
there according -is:tempdir.
Comment 7 dmladek 2004-08-27 08:35:32 UTC
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.
Comment 8 Petr Blaha 2004-08-31 13:11:03 UTC
I suggest to add info that minimal 60 MB is needed on system drive for
successful installation.
Comment 9 mslama 2004-08-31 13:37:53 UTC
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.
Comment 10 mslama 2004-09-01 14:13:36 UTC
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
Comment 11 mslama 2004-09-01 14:24:20 UTC
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.)
Comment 12 Michal Mocnak 2005-07-12 09:57:35 UTC
Verfified