Java DK is not getting installed

  • Java
  • Thread starter hermy
  • Start date
  • #1
hermy
41
0
Hello!

I installed java developers' kit today, but in c:\program files by mistake. I wanted to change it to c:\, so initially I just cut-pasted it. It didn't work, so I uninstalled it (add or remove programs in control panel). However, when I tried to delete the "java" folder in c:\, it said that some file was write-protected and couldn't be deleted.

I tried to install java DK again, this time mentioning the correct destination, but it wouldn't install. I get an error no. 1721 saying that "there is a problem with this package of windows installer. A program required for this install to complete could not be run" . I am surprised because, earlier, when I had installed java (albeit, at the wrong destination) there was no such error.

I also tried System Restore, but the folder "java" is still stuck there, and I keep getting error 1721.

Any help would be appreciated. Thanks in advance.
 

Answers and Replies

  • #2
harborsparrow
Gold Member
655
174
Try reinstalling over the old installation (in the same folder exactly). If that works, then formally uninstall that (via Control Panel). Then reboot, and try again.
 
  • #3
harborsparrow
Gold Member
655
174
Also, see http://support.microsoft.com/kb/891985 if you are on Win XP
 

Suggested for: Java DK is not getting installed

Replies
2
Views
475
Replies
12
Views
531
  • Last Post
Replies
8
Views
269
Replies
1
Views
360
  • Last Post
Replies
5
Views
602
Replies
2
Views
417
Replies
4
Views
582
  • Last Post
Replies
25
Views
539
Replies
15
Views
342
Top