Age old question. :)
Simply Put:
- If you need to execute any java program you need JRE (as the name says "Runtime Env").
- If you need to compile some java code you ll need JDK (as the name says "Development Kit").
One more thing to be noted is JRE will always be shipped with JDK because as I mentioned earlier JDK compiles the code, so if you want to execute the compiled code you need JRE.
Hope this helps.
.
The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs.
Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.
Chat with our AI personalities
There is no specific/separate servlet development kit. Servlets can be developed and compiled using the standard JDK and JRE. The only difference being the fact that - to run them you need a web server
what is difference between dynamic and volumatic compressor
what is difference between mild steel and stainless steel
Both are same no difference Both are same no difference
To find the difference between two sets in Python, you can use the "-" operator or the difference() method.