Java - Environment Setup in Windows to run "Hello World" program

Java development requires a Java Development Kit (JDK), it contains the Java Runtime Environment (JRE) and additional development tools like compiler, applet viewer, etc., JDK is the only tool which will be responsible for compiling the Java source code and it will generate a byte code as a file with the same name with .class extension (for example HelloWorld.class) and rest of the executions will be handled by JRE with the help of Java Virtual Machine (JVM).