Unable to find java command un the java SDK path

Godot Version

4.2.2

Question

Hi! i tried using remote control for android, but then this error showed up. help?
image

This could be a version issue for Java. I used 17 and it fixed!