Trusted answers to developer questions

What is the Java Development Kit (JDK)?

Get the Learn to Code Starter Pack

Break into tech with the logic & computer science skills you’d learn in a bootcamp or university — at a fraction of the cost. Educative's hand-on curriculum is perfect for new learners hoping to launch a career.

The Java Development Kit (JDK) is a software development environment that offers a collection of tools and libraries necessary for developing Java applications. You need the JDK to convert your source code into a format that the Java Runtime Environment (JRE) can execute.

The JDK includes the Java Runtime Environment (JRE), an interpreter (java), a compiler (javac), an archiver (jar), a documentation generator (javadoc), and some other development tools. The Java Runtime Environment itself consists of the Java Virtual Machine (JVM), supporting files, and core classes.

svg viewer

Typically, if you are only interested in running Java programs on your machine or browser, you only need to install JRE. However, if you would like to develop an application and do Java programming, you will need JDK.

Latest version

The latest version is JDK 17, which was released in September 2021 Here’s a list of some of its new features:

  • Switch expressions

  • Pattern matching for instanceof

  • Records

  • Helpful NullPointerExceptions

  • Text blocks

If you’re looking to learn more about Java, check out our Complete Java Crash Course.

RELATED TAGS

jdk
java
development
jre

CONTRIBUTOR

Aaron Xie
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?