
Originally Posted by
Noah of Yahoo Answers
1)Right-click My Computer and click 'Properties'.
2)Click 'Advanced system settings' on the left-side menu (If you have Vista).
3)Under the 'Advanced' tab, click the 'Environment Variables' button.
4)Under the 'System variables' section find the 'Path' variable.
5)Select the 'Path' variable and click the 'Edit' button.
6)Add ;C:\Program Files\Java\jdk1.6.0\bin to the end of the text in the 'Variable value' textfield (The semi-colon at the beginning is important and you may need to change the exact directory path depending on where you installed Java).