Under the Advanced tab, click on "Environment Variables" on the bottom. When the window pops up, click on any of the two New buttons. Another window will now ask for the variable name and value. Set the name as PATH or Path, and paste the bin address into the value box. Now close all the windows by clicking OK. Whew! And that's how you set up the JDK!