Agent Startup.bat Java Error

As I tried to start the agent I’m getting the following error message:

WARNING: Using JAVA from path
’“java.exe”’ is not recognized as an internal or external command, operable program or batch file.

the JAVA_HOME Path is Set as below:

Hi Problem Solved.

Just need to add the bin directory to the Path to the user variables as shown below: