Home > OS >  Android Studio Electric Eel - The supplied javaHome seems to be invalid. Tried location: C:\Program
Android Studio Electric Eel - The supplied javaHome seems to be invalid. Tried location: C:\Program

Time:01-19

Android Studio Electric Eel - The supplied javaHome seems invalid. I cannot find the Java executable. Tried location: C:\Program Files\Android\Android Studio\jre\bin\java.exe

The error occurs after upgrading my Android Studio to Electric Eel, the latest version. I tried multiple solutions to this problem, but nothing worked. My JAVA_HOME and ANDROID_HOME variables are set. I even tried to reinstall Java JDK-19 and reinstalled the Android Studio, but I still have the same issue.

I even tried to reinstall Java JDK-19 and reinstalled Android Studio, but I still have the same issue.

CodePudding user response:

SOLVED:

For Windows

Go To the android studio directory

(Default C:\Program Files\Android\Android Studio)

remove jre folder

run cmd as administrator

cd C:\Program Files\Android\Android Studio
mklink /D "jre" "jbr"
  • Related