Home > Blockchain >  Flutter: The supplied javaHome seems to be invalid. I cannot find the java executable
Flutter: The supplied javaHome seems to be invalid. I cannot find the java executable

Time:01-17

Today I was going on with my flutter project, then the Android studio show me a new update, I clicked on "update".

Once it completed and installed the update, this message start appearing to me:

The supplied javaHome seems to be invalid. I cannot find the java executable. Tried location: C:\Program Files\Android\Android Studio\jre\bin\java.exe`

I have tried so many solutions, and made sure that I have the latest JDK version 19, and the environment variables didn't change, but still not working and showing this message to me!!!

enter image description here

enter image description here

How can I fix it?

CodePudding user response:

folder structure

check new installed android studio has the jre folder empty or not . if u find any folder rather than jre ex: jbr then move all files from jbr to jre

  • Related