ERROR: JAVA_HOME is set to an invalid directory

Hi guys, I need a help (sorry for my bad english), I downloaded Android tools and did everything according to the instructions (Setting Up Android SDK and NDK for Unreal | Unreal Engine Documentation).
According instruction, I launched “SetupAndroid.bat” and got this mistake. What did I did wrong?

Try to follow this guide if You are using 4.25 version

Thanks, guys, who helped me, I fied it. I just rename Java folder and it help