Skip to main content

java

JRE

Concepts

  • JRE (Java Runtime Environment)
  • Runs Java applications
  • Includes JVM (executes bytecode), core libraries (e.g., java.lang, java.util), supporting files
  • For end-users running apps (e.g., Minecraft)
  • Smaller size

JDK

Concepts

  • JDK (Java Development Kit)
  • Develops Java applications
  • Includes JRE + compiler (javac), debugger (jdb), tools (jar, javadoc)
  • For developers writing/compiling code (e.g., in IntelliJ or Eclipse)
  • Larger size

Summary

Summary

  • JRE is subset of JDK, JDK includes JRE, no separate install needed