3- If your version is up to date and the problem persists, I recommend reinstalling following the steps below.
4- After downloading, proceed with the installation of JAVA, preferably save it in the folder below:
"C:\ProgramFiles\Java\jre1.8.0_361"
Enviroment variables
5- After the installation is complete, we need to configure the “Environment Variables”.
6- Type in the windows search bar: “Environment Variables”.
7- Click in: “Environment Variables”.
8 – Search for “Path”:
9- Then click on “NEW” and add the path of the installed JRE, but in the “BIN” folder, as shown in the image below:
10- After adding the path, move it up to the top so that it has the highest execution priority, as shown in the image below:
11- Click “OK” to save the settings and then click OK again on the previously opened screen.
Adjusting the IntelliJ:
12- In IntelliJ, I usually configure the project settings as follows:
13- After checking the settings, click “OK”.
14- After making the necessary adjustments, I recommend closing IntelliJ and opening it again.
15- After completing all the steps, we can execute the algorithm and we will have the following output in the terminal:
16 – The build process has been completed without errors.
Conclusion:
The error “error: release version 17 not supported” occurs due to a version mismatch between the JAVA JDK and JRE. Spring Boot requires all packages to be updated to the latest versions in order to compile the algorithm successfully.
To avoid these errors, it is recommended to always use the latest stable version of both JAVA and its development package.
Thank you Lucas, it solve my problem 🤟🤟🤟🤟