Some help please....
I installed JDK version 7 to the following directory on my Windows 7:
C:\Program Files (x86)\Java\jdk1.7.0_06
This appears to have been successful. I then went to update my JAVA_HOME and path thusly:
c:\Program Files (x86)\Java\jdk1.7.0.06
path (added the last item to existing path)
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;%JAVA_HOME%\bin;
I then go out to the command prompt to test it with java -version and get the following errors:
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
I can execute the java -version from the JDK1.7.0.06\bin directory, but nowhere else.
Yep, I used the install wizard that was with the JDK download and it termed it successful...As for the spaces in the directory, this was the default directory that the installer used, so I just allowed it to default, figuring it would be the best option. Would you recommend reinstalling to another directory?
Kemal, my first attempt was to directly update the path without the JAVA_HOME so it has the same effect.
Thanks for the assists. I found that there was a windows installer problem that was causing issues with the install. I ran Windows Fixit and reinstalled, and checked the JDK configuration and it seems to have me well on my way. Your suggestions got me going in the right direction.