- Home
- Interview Questions
- Java
- What is the difference between JDK, JRE and JVM?
Try answering first
In a real interview nobody shows you the answer. Think it through (or type it), then reveal the answers and rate yourself.
2 Answers
The JVM runs Java bytecode; the JRE is the JVM plus the standard libraries needed to run programs; the JDK is the JRE plus development tools like javac.
Reviewed by the Interview Questions editorial team · Last updated
Think of it as layers: JDK ⊃ JRE ⊃ JVM. You install the JDK to write code and the JRE to only run it.
Reviewed by the Interview Questions editorial team · Last updated
How well did you know this?
Rate yourself to track progress, build your streak and get “didn't know” questions in your revision list.
Your Answer
More easy Java questions
- Tell me about yourself. · 3 ans
Related Questions
- Tell me about yourself. · Java · 3 ans
- Explain the difference between .NET Framework and .NET Core. · Java · 1 ans
🙋 Was this asked in your interview?
Which company? (optional — adds this question to the company's page)