Hello and welcome to StackOverflow!
The error you're getting is quite clear: The supplied javaHome seems to be invalid
, so you probably just have to update the JAVA_HOME environment variable (if you are using it) or move your JDK to the path your IDE is looking for it (which is also listed in the error you posted, C:\Program Files\Java\jdk-23\bin\java.exe
).
That should be enough to solve the current issue.