Android Studio shows an error when trying to use Embedded JDK instead of a custom install

Try to reset your path of your updated JDK. and check it again. May be it will help you. Also clear your android studio temp cache and all.


I fixed this issue by uninstalling all the jdk installation & updates then reinstall only one jdk and assure its env. variables

I do not have a solution but I have the same problem it happens as the android studio opens from java_home/jre thence all JVMs that will fork next will come from this path, while your system varible tells Gradle to get his java.exe from JAVA_HOME

I tried to make gradle read from jre but it falied also i tried to make android studio open from java_home/bin but it falid also