Код: Выделить всё
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-24.0.1
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Подробнее здесь: https://stackoverflow.com/questions/795 ... -not-found