Name: nt126004 Date: 12/18/2001
I downloaded javaws-1_0-fcs-scsl-b20-02_apr_2001.
I unzipped it and followed the instructions for doing a make installer.
If you look at line 102 of the file javaws1.0-src\build\win32\GNUmakefile,
you will see the line:
installer: all exe/setup.dll exe/uninstall.dll $(JRE)
As you can see, $(JRE) is a prerequisite for the installer. The rule for
$(JRE) begins on line 125 with:
(because in line 29, JRE=$(INSTALL_DIR)/jre.exe
JRE_EXE is already defined in the command line to get make going, as per
JRE_EXE=c:\\j2re1_3_0fcs-win.exe (or wherever the JRE is) so that
prerequisite is satisfied.
Now, the rule for $(JRE), as can be seen in line 126, copies a file into the
$(CP) -f $(JRE_EXE) $(INSTALL_DIR)/jre.exe
However, this directory, $(INSTALL_DIR), does not get created until AFTER
this attempt to copy into it, when it returns to the rule above at line 103
where there is the makedir instruction:
$(MKDIR) -p $(INSTALL_DIR)
So, hence the makefile is attempting to copy a file into a directory before
that directory has been created, hence it fails. However, if the developer
were to run it on their machine, it would probably work because the chances
are that that directory DOES already exist. But on a clean machine, it would
(Review ID: 136971)