Installing Java locally

Learn how to install Java locally to solve Exercism's exercises on your own machine


In addition to the Exercism CLI and your favorite text editor, practicing with Exercism exercises in Java requires the Java Development Kit (JDK). The JDK includes both a Java Runtime and development tools (most notably, the Java compiler).

There are many flavors of the JDK nowadays, some of which are open-source. Here at Exercism we recommend using Eclipse Temurin by Adoptium.

Supported Java versions

Exercism's Java track supports Java 21 LTS and earlier.

Installing Eclipse Temurin

To install Eclipse Temurin on your system, head on over to their excellent installation instructions. Here you will find instructions on how to install the JDK using your favorite package manager, and it also contains links to downloadable installers for all major operating systems.

Java IDEs

There are many free IDEs available for Java. Here are some popular choices:

Next steps

You now are ready to get started with the Java track of Exercism!

To get started, see "Running the Tests".