*****************************************************************************************
* Description: Difference between Java Development Kit [JDK] & Runtime Environment [JRE]
* Date: 10:47 AM EST, 06/06/2019
*****************************************************************************************

		 
<1> Difference between Oracle JDK and JRE:
     |
     |__ o. JRE: It is the Java Runtime Environment. 
     |           It is a package of everything necessary to run a compiled Java program, including the JVM, the Java Class Library, java command, and other infrastructure. 
     |           However, it cannot be used to create new programs.
     |
     |__ o. JDK: It is the Java Development Kit, the full-featured SDK for Java. 
     |           It has everything the JRE has, but also the compiler (javac) and tools (like javadoc and jdb). 
     |           It is capable of creating and compiling programs.
     |
     |__ o. "Usually, if you only care about running Java programs on computer you will only install the JRE. It's all you need. 
            On the other hand, if you are planning to do some Java programming, you need to install the JDK instead.
            Sometimes, even if you are not planning to do any Java development on a computer, you still need the JDK installed. 
            For example, if you are deploying a web application with JSP, you are technically just running Java programs inside the application server. 
            Why would you need the JDK then? Because the application server will convert JSP into Java servlets and needs to use the JDK to compile the servlets." 

			

                     	

	
	 
Reference:
     |
     |__ o. https://stackoverflow.com/questions/1906445/what-is-the-difference-between-jdk-and-jre

	 

	 
    
	

Your Comments