'Can't create project on Netbeans 12 with JDK 17

My professor wants us to download NetBeans and a JDK. The problem is that although I can install them both, I cant create a project:

Project Wizard

I have tried to open other files as shown below, but they don't run:

EditScreen

Does anyone know how to fix this?



Solution 1:[1]

The problem is that you are running NetBeans 12.0 with JDK 17. That is not a supported combination. From the release notes for NetBeans 12.0:

Apache NetBeans 12.0 runs on the JDK LTS releases 8 and 11, as well as on JDK 14, i.e., the current JDK release at the time of this NetBeans release.

Either install and use a supported JDK with NetBeans 12.0, or install and use NetBeans 12.6 with JDK 17.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1