After finding this out, I wanted to post this since the windows 7 java path is diffrent from other windows.
Go to computer
Go to Properties
Go to advanced system settings
Go to environment settings
Go to PATH
Copy and paste \;C:\Program Files (x86)\Java\jre6\bin
To your path
The diffrence is that windows seven uses the \; in front.