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

Popular posts from this blog

Top 10 Git Commands

Kubernetes cluster setup NOTES step by step using minikube

SonarQube Installation & Configuration Step by step