Setting up Java Path Variables
A quick and dirty run though if you are positive you have done everything else correct. Please start with the other instructions
First step is to try and reinstall all parts of the Java JDK Version 6 Update 2 (the first one on the download page).
When you run a program from Start->Run or from an MS-DOS prompt then Windows looks in specified locations for these programs. These locations need to be included in the path variables.
Some people are having problems with Java automatically setting these path variables. To set your path variables go to
Control Panel->System
Click on the Advanced tab
Click on Environment Variables
and then you will see the System Variables on the bottom of the window. Edit the 'path' variable and append the location of your Java bin file onto the existing value (separated by a semicolon). Example:
- <previous value>;C:\Program Files\Java\jdk1.6.0_02\bin\;
Also QuickTime installations mess up Java for some reason. QuickTime is reinstalled everytime you update iTunes, so this may be part of your problem also.
It adds a system variable of QT_JAVA (or something similar). You may need to delete this entry by selecting it and hitting delete.
Joel Uthe
Link to this Page