Probably it is a trivial question, but the answer is not always obvious. The main rule is to follow the right link like this: https://www.java.com/en/download/help/firefox_online_install.xml. As the result you will get:
To check if it works or not follow this link: http://java.com/en/download/installed8.jsp.
great