skip to Main Content

I am facing Unable to find bundled java version on window 11, How to solve it ?
currently I used java 19.
Please help me.

1

I changed multiple java version and environment variables but issue still not resolve.
Also there’s no duplicate old version of android studio.

5

Answers


  1. I had solve this problem by uninstalled Android Studio (version 2022.1) and download the version of 4.2 to installed, even if it’s not a better way to fix this. Maybe it can help you.

    download the old version url:
    https://developer.android.com/studio/archive

    When you in Terminal run "flutter doctor -v" to see details, it will suggest you to reinstall or update Android Studio.

    Login or Signup to reply.
  2. On windows however I fixed it another way:
    I had to go to C:Program FilesAndroidAndroid Studio.
    There is already jre folder in there, but it contained signle empty file.
    Remove jre folder.
    Create a copy of jbr folder.
    Rename the copy to jre.

    Login or Signup to reply.
  3. On Mac:
    Go to finder and find Android studio:

    right click and click show package contents
    Create a new folder called jre
    copy the contents of the jbr folder and paste them into jre folder

    Copied from: https://github.com/flutter/flutter/issues/118502

    This one worked for me …

    Login or Signup to reply.
  4. I had this issue when I updated android studio from Dolphin to Electric Eel. I believe the patch process might have caused the java bundle in jre directory to be deleted. This is how I solved it.

    • Copy the files in C:Program FilesAndroidAndroid Studiojbr and paste in C:Program FilesAndroidAndroid Studiojre
    • run flutter doctor
    Login or Signup to reply.
  5. I had a similar issue, I deleted the contents of the jre file and replaced them with the contents of the jbr file, and it worked

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search