

The Oracle JDK license changed with the release of Java 10. 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 includes tools useful for developing and testing programs written in the Java programming language and running on the Java platform. The JDK is a development environment for building applications, and components using the Java programming language. Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™).
