HI Im new and having trouble getting Forge to install.

When I try and install forge, I get a message telling me: "this application requires a Java Runtime Enviroment 1.7.0"
When I click okay on that it redirects me to the Java website where I can download the latest version, which I did. Ive checked if it was correctly installed (it is), I even reinstalled it to be sure, I have closed all the browser windows, I have restarted my computer. No matter what I do, it will keep giving me this message and redirecting me to the Java website. Anyone that could help me get this installed?
I checked google and this forum, but could't find anything...
Thanks very much!
When I click okay on that it redirects me to the Java website where I can download the latest version, which I did. Ive checked if it was correctly installed (it is), I even reinstalled it to be sure, I have closed all the browser windows, I have restarted my computer. No matter what I do, it will keep giving me this message and redirecting me to the Java website. Anyone that could help me get this installed?
I checked google and this forum, but could't find anything...
Thanks very much!