I wanted to install the JDK, but when I try to, it says:
This software has already been installed on your computer.
Would you like to reinstall it?
I press yes.
Preparing to remove…
Then after that it says…
Please wait while Windows configures Java SE Development Kit 7 update 45
After that I get an error:
Error 1316.A network error occurred while attempting to read from the file C:\Windows\Installer\jdk1.7.0_45.msi
But the C:\Windows\Installer
directory doesn’t exist! :(
I've narrowed it down to me deleting the files for the JDK (C:\Program Files\Java\jdk
) and apparently those files have a file that the Java installer needs to uninstall it. Please tell me how to thoroughly delete all the files for the JDK so I can install it again! Or another way!
Best Answer
Delete the entire C:/Program Files/Java directory, download Java SE 7u45 JDK from here:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
and run it to install. Should work. The download is the JRE and JDK in one, so you don't have to install the jre seperatly.