The installation of Java 8 consists of four installation steps and is easy to perform.
For the development of Java applications, the current JDK (Java Development Kit) should always be installed. At the moment (as of April 2015) the JDK is available in version 8.
Notice: We have published a newer article on this topic, in which we show how to install OpenJDK 13 and how to install the Oracle JDK 13, the Oracle JDK 11 (LTS) and of the Oracle JDK 8 (LTS) on a Windows 10 PC. In addition, we have a large overview of the alternative Java distributions in the article How do I install Java?? summarized.