Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing JDK

Tags:

java

windows

I got following error while installing JDK 1.7 on windows 8.

"Error 1335. The cabinet file 'st170510.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."

I have downloaded latest version of JDK from oracle foundation. previously JDK 1.6 was installed on my pc. I uninstalled it and tried to install this version and met this error.

For further information, I have already installed JRE 1.7 on my system.

like image 614
Chandra Prakash Avatar asked Jan 22 '26 12:01

Chandra Prakash


2 Answers

Error:

"Error 1335. The cabinet file 'st170510.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."

is not because of Issue in JDK setup or as such.

Some of the reasons may be:

  1. Some research suggests that this problem may arise because of bad RAM.

    Source - https://forum.openoffice.org/en/forum/viewtopic.php?f=15&t=65872

  2. This is a Windows Installer error that may occur for different cabinet file names located on the installation media (usually on CD).

    Source - error-1335-the-cabinet-file-filecab-required-for-this-installation-is-corrupt-and-cannot-be-used-this-could-indicate-a-network-error-an-error-reading-from-the-cd-rom-or-a-problem-with-this-package

  3. Can be caused by User Access Control.

    Source - http://www.symantec.com/connect/forums/error-error-1335the-cabinet-file-data1cab-required-installation-corrupt-and-cannot-be-used-co

  4. Corrupted installer caused by a firewall or virus software running on your computer.

    Source - http://www.tomshardware.com/forum/7992-63-error-1335-help

  5. Occur when the installer is unable to access the necessary files from the DVD/CD-ROM drive.

    Source - http://helpx.adobe.com/creative-suite/kb/install-error-1311-1335-or.html

Each link has its own list of steps to resolve the Issue. Not sure what may be causing Issue in your case.

You can try different solutions and see if any one can help.

Thanks!!

like image 91
Aduait Pokhriyal Avatar answered Jan 25 '26 00:01

Aduait Pokhriyal


I think it has something to do with Windows "unblock" feature. (Rich click on file, select "unblock")

We had this issue before when we downloaded a Zip file, extracted an installed, and ran it - it failed - we had to unblock the file first - we also noticed that extracted elements were also "blocked" as well.

Java Install >>- On downloading using windows, file transfer speed was fast until the very end. then it seemed to stall. Any attempt to install from these files produced errors and a fail.

Fix >>- I then downloaded it using a MAC and then transferred the files back to the windows box and did the install again.

This time it was perfect - no errors - good install.

Rob

like image 27
Robert W Avatar answered Jan 25 '26 02:01

Robert W



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!