

I couldn't find a fitting JRE (like JRE 12 or so). Everything that you needed was installed by the Java SE Development Kit 12.0.1. You already have the Java Runtime Environment installed. Where can I get the JRE 12 or however what it's called now?

The Java Runtime Environment (JRE) has always been included in the Java Development Kit (JDK). The only way you would be able to compile software is if you had the java runtime environment installed. This way you can have multiple instances of Java Runtime Environment installed and point to the version the project should use. In my experience IntelliJ uses it's own implementation to determine the location of the Java bin location. The JDK seems to be enough when I work within IntelliJ, but I cannot run the java command inside the cmd.
