You may already have Java installed on your computer. However, if you have only been running Java applications (and not developing them) you will likely have a Java Runtime Environment (JRE) installed on your machine, rather than a Java Development Kit (JDK). The latter is what you need for the development of Java applications.
There are different providers of Java / JDKs. Some are free and others may require a licensing fee. Features may vary slightly between vendors, too.
For the purposes of this post, let’s go with Red Hat’s Open JDK 17.
TIP: Save your installation directory. You will need it again in the future.- Open JDK 17 Installation Instructions – Windows
- Open JDK 17 Installation Instructions – Mac (Homebrew)
If you choose another vendor / version – no worries! However, just be aware that features and nuances may differ a bit from what you see discussed.

Leave a comment