1. Home
  2. Interview Questions
  3. Java
  4. 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

0 0
Interview Questions Team ✔ Expert answer ·

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

0 0
Interview Questions Team ✔ Expert answer ·

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

All easy questions →

Related Questions

Q1 of 3 · Java
Next ›

Interview Questions

Free interview questions and answers, MCQ practice, online tests, mock interviews and group discussions — everything you need to crack your next interview.
📍 Dasardot LLC
1309 Coffeen Avenue STE 1200
Sheridan, Wyoming 82801
USA

Interview Questions