My Windows XP workstation at the office had several old versions of the Java JDK and JRE installed on it. I decided to install the newest Java JDK and uninstall the older JDKs and JREs. This resulted in some big problems!
First of all, the JDK won't work. Trying to do something as simple as starting the Eclipse IDE just fails. Typing
java -version at a command prompt doesn't work either. It seems to be looking for one of the removed JDK installs and the registry is littered with references to the now removed JDK.
So my next move was to uninstall ALL of the Java JDKs and JREs on the machine and start from scratch. Unfortunately, one of the JRE installations appears in the Windows XP "Add or Remove Programs" list, but it is actually already gone from the machine. References to that JRE also exist in a few places in the registry.
So now I used the following utility to try and clean the remnants of Java from my workstation:
The tools did find and remove some crap that was left over from the uninstalled JDKs/JREs, but it did not solve the problem.
So this is where I am now:
Trying to install a Java JRE on the machine using the standalone installation downloaded from Sun (or Oracle now I guess).
The installer starts up normally, but then fails after only a second on the progress bar splash screen and then shows this fail message:
No installer log is created (
java_install.log file does not exist), so I don't even have any information to use for diagnosing this problem. It does create the
jusched.log file, but that seems to contain nothing useful.
I am totally stumped and I'm kind of screwed if I can't get Java to run on my development workstation. Anyone know what's going on here?