You need the JDK to convert your source code into a format that the Java Runtime Environment (JRE) can execute . The JDK includes the Java Runtime Environment (JRE), an interpreter (java), a compiler (javac), an archiver (jar), a documentation generator (javadoc), and some other development tools.
Read moreWhat is JDK and its use?
The Java Development Kit (JDK) is a distribution of Java Technology by Oracle Corporation . It implements the Java Language Specification (JLS) and the Java Virtual Machine Specification (JVMS) and provides the Standard Edition (SE) of the Java Application Programming Interface (API).
Read more