Java Development kit ( JDK )

Java’s Magic – Java Development Kit (JDK):

Java Development Kit (JDK) is a set of development tools installed on the local machine to write and compile Java programs.
JDK = JRE + Java Development Tools + Libraries
Java Development Kit (JDK)
Java Folder structure and usage:
Java Development Kit (JDK) Folder Structure

Summarize:

  • Java programs are written in “.java” file.
  • Bytecode: Bytecode is the code generated after the java program is compiled.
  • Java Virtual Machine (JVM): This is virtual machine which reads the bytecode and interprets into machine code depending upon the underlying operating system and hardware combination.
  • Just In Time (JIT): Just in time compiler is part of the Java Virtual Machine (JVM) and it compiles bytecode into executable code in real time, on a piece-by-piece, demand basis.
  • Java Runtime Environment (JRE): Java Runtime Environment provides an environment to execute java programs on the computer.
  • Java Development Kit (JDK): Java development Kit is the development tools and libraries that are required to develop java programs.
  • Java Compiler: This is the compiler tool that compiles and convert the “.java” code into “.class” bytecode.
  • Java Interpreter: The job of interpreter is to read the bytecode and convert into machine dependent instructions to execute.
Java's Magic Summary

2 comments: