DevOps Real-Time Tip "Confused between JDK and JRE? π€
If you're a DevOps engineer, this is VERY important!"
"First, let’s understand JDK.
JDK stands for Java Development Kit.
It provides a complete environment
π To write Java code
π To compile Java code
π To execute Java code
So remember this:
With JDK —
You can WRITE code,
You can COMPILE code,
You can EXECUTE code."
"Now what about JRE?
JRE stands for Java Runtime Environment.
It only provides an execution environment.
That means —
With JRE,
You can ONLY run or execute Java applications.
No writing.
No compiling.
Only running."
π₯ DevOps Real-Time Tip (Very Important Part)
"As a DevOps Engineer, this is what you must remember:
π DEV Servers — Use JDK
Because developers write, compile, and test code.
π QA / STAGING / PROD Servers — Use JRE
Because we only RUN the application."
"Simple rule —
Development means JDK.
Production means JRE.
Comments
Post a Comment