Integrated Development Environment (IDE)
IDE- An integrated development environment (IDE) is a software suite that consolidates the basic tools developers need to write and test software. Typically, an IDE contains a code editor, a compiler or interpreter and a debugger that the developer accesses through a single graphical user interface (GUI).
Most Common IDE's:
Note: having an IDE is optional but this makes programming much easier.
JAVA DEVELOPMENT KIT (JDK)
JRE - The Java Runtime Environment, provides a runtime environment and is the implementation of the JVM. It exists physically. It contains a set of libraries and other files that the JVM uses. The Java Development Kit (JDK) also exists physically and contains the JRE with development tools.
JDK - is a superset of JRE, and contains everything that is in JRE, plus tools such as the compilers and debuggers necessary for developing applets and applications. JRE provides the libraries, the Java Virtual Machine (JVM), and other components to run applets and applications written in the Java programming language.
Download the JDK at: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Default Installation Paths
Within the IDE it will have an option for you to select a JDK you will now navigate to the JDK that you have downloaded the listed default installation paths are listed below.
Windows: C:/Program Files (x86)/Java/jdk(version)