Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.6 KB

install-jdk.md

File metadata and controls

23 lines (18 loc) · 1.6 KB
meta.description meta.keywords
Learn about the Java Development Kit (JDK) and its different distributions.
LITIENGINE, java, game, gameengine, development, 2D, programming, ide, eclipse, intellij, netbeans

Install JDK

Installing the Java Development Kit

First of all, you should download a Java development kit (JDK), containing the Java virtual machine (JVM) and other resources for developing Java applications. Since LITIENGINE has been created with Java 21, you need at least JDK 21 on your machine.

In case you are on linux or mac, you can also use SKDMAN! to manager your JDK installation. Once you've installed sdk man, type sdk install java in your terminal. The latest recommend JDK will be installed automatically for you. It should be registered in your IDE after you restart it. For further information look up the SDKMAN! Docs.

The official Oracle JDK has seen some severe licensing changes in 2019, requiring a paid license for developing commercial applications! You should use another JDK distribution with a permissive free license instead.

Here is a short overview over some entirely free JDK distributions:

name implementations
Eclipse Temurin JDK 21
Amazon Correto JDK 21
Oracle Open JDK JDK 21
Red Hat OpenJDK JDK 21
GraalVM JDK 21