-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.3.1_01
-
x86
-
windows_nt
When installing 1.3.1_01a through auto download, the binary is download across the net. However, in some machines, the auto installer may think the download is completed if the connection may be dropped or broken. Thus, the auto installer may try to execute the install, and "Cannot execute 16-bit program" or crashes may be resulted. This problem occurred on various Win32 platforms, including XP, NT, 2K, ME.
Fixed in jinstall.cpp to do VerifyTrustFile on the downloaded file.
This code has already been checked into as part of the Resumable Download stuff.
Now if the file is corrupted, a MessageBox pops saying it's corrupt.
To verify run jinstall.exe to download from web like Merlin JRE bundle
eg., http://java.sun.com/products/plugin/autodl/j2re-1_4_0-win.exe
Cancel the download after some is done, then append few junk chars to it
in c:\temp directory.
Then run the jinstall againg and you will get the corrupt msg.
Or you could create c:\temp\jinstaller141.exe with few characters in it
and then run jinstall to resume from there. Then also corrupt
dialog should popup.
Fixed in jinstall.cpp to do VerifyTrustFile on the downloaded file.
This code has already been checked into as part of the Resumable Download stuff.
Now if the file is corrupted, a MessageBox pops saying it's corrupt.
To verify run jinstall.exe to download from web like Merlin JRE bundle
eg., http://java.sun.com/products/plugin/autodl/j2re-1_4_0-win.exe
Cancel the download after some is done, then append few junk chars to it
in c:\temp directory.
Then run the jinstall againg and you will get the corrupt msg.
Or you could create c:\temp\jinstaller141.exe with few characters in it
and then run jinstall to resume from there. Then also corrupt
dialog should popup.
- duplicates
-
JDK-4652245 RFE: Resumable download with jinstall
- Resolved