...
- Click on Edit the system Environment variables
- Under System Variables, click New.
- create a variable called JAVA_HOME with the value C:\Program Files\Java\jdk-17.0.3.1
- click on path edit add new value %JAVA_HOME%\bin
- click on path edit new value C:\Program Files\MySQL\MySQL Server 8.0\bin
- click ok ok ok