aspose file tools*
The moose likes Beginning Java and the fly likes Cannot uninstall and reinstall JDK 1.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Cannot uninstall and reinstall JDK 1.6" Watch "Cannot uninstall and reinstall JDK 1.6" New topic
Author

Cannot uninstall and reinstall JDK 1.6

Eason Wang
Greenhorn

Joined: Nov 07, 2009
Posts: 1
I installed
jdk-6u7-windows-i586-p.exe
and
jdk-6u16-windows-i586-p.exe

on windows 2003 server

as the person who installed update16 did not know there is update 7 already exist.

Then, he removed the directory under java folder and deleted the registry

When I go to add or remove program in control panel, I cannot uninstall them

and it said "Fatal error during installation"

Then, I install the jdk-6u16-windows-i586-p.exe again and it keeps on prompting a dialog box:

"The software has already been installed on your computer. Would you like to reinstall it."

I click "Yes" and then this dialog box keeps on promoting on screen.

So, how should I remove jdk completely?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61773
    
  67

"Java Slash", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19794
    
  20

The first thing you should do is smack both the guy that "uninstalled" the JDK and your entire sysadmin team. The first guy because he apparently doesn't know how to install and uninstall programs, the sysadmin team because apparently they have given access with installation rights to one of your servers to someone who shouldn't be able to install programs on it.

After that you should remove the uninstall information from the registry; it's located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. Go through the entries until you find one with the right display name, then delete the entire key. Then install the JDK again.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot uninstall and reinstall JDK 1.6