Please be careful with this! You need to add a path to your Windows Path Environment variable. You may wish to back up the current path in a file so you don't accidently erase something. I haven't done this on Vista. You may to find help online to this for Vista.
- Make sure your logged in as the adminstrator
- Start Menu > Control Panel
- Double click on the "System" icon. If you don't see that, click
on "Classic View" in the left column first
- Select the "Advanced" tab.
- Click the "Environment Variables" button.
- Select PATH, and click "Edit"
- At the end of the path, add the path to the "bin" file the Java
JDK. In my system it was "C:\Program Files\Java\j2sdk1.5.0\bin" But
yours may be different, so make sure to find it on your hard drive.
Make sure this new location is separated by a semicolon from the other
locations already in the PATH variable.
- If you alread have a command window open, you'll need to reopen it.