posted 14 years ago
Hello to all,
I'm having an odd problem with my Java installations. Im running Windows 7 and have java installations in the \Program Files directory for 64bit and Java installations in the \Program Files (x86) for 32bit.
When I type java -version in the command line it stated that my current java version was one of the 64bit \Program Files installations. For a project, I needed to use xuggler which required running a 32bit Java version. So I decided that I would just uninstall the 64 bit versions. For some reason the installation became corrupt and I had to remove the files manually from the registry and \Program Files. The 64bit installation does not show up in my add/remove programs anymore.
So... I changed all the path and classpath settings to match that of the 32bit installation. Then I typed 'java -version' in the command line I get "Error: Could not open 'C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'". It seems windows is thinking Im using the 64bit install but I dont even have those files in my \Program Files directory. I tried to download a new 64 bit java that way I could just uninstall it and hopefully make the problam go away but It wont let me install a new 64 bit java cause it cant find my jre.msi. Arg...
Does anybody know how to fix the java -version problem or even the "can't find jre.msi uninstall/install" issue. I can provide screen shots if needed.
Thanks in advance for the help.