2023 Android Studio Unable to find bundled Java version solution

  1. I found the Unable to find bundled Java version error while learning flutter.
  2. Searching the Internet for solutions is wrong.
  3. Finally, I found the solution in the courseware of the tutorial at station b https://www.bilibili.com/video/BV1S4411E7LY?p=17&vd_source=d7cf0e2cd70b3cc57314d2efcb598c3d

My flutter version

C:\Users\Ken>flutter --version
Flutter 3.7.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9944297138 (13 days ago) • 2023-02-08 15:46:04 -0800
Engine • revision 248290d6d5
Tools • Dart 2.19.2 • DevTools 2.20.1

jdk jdk-19.0.2
operating system windows11

solution

If it is a macOS system, create a jre directory in the same directory as jbr, and then copy all the files in the jbr directory to the jre directory
.
If it is a Windows system, the jre directory exists, but there is almost nothing in it. You can directly copy all the files in the jbr directory
to the jre directory.Insert image description here

For details, please refer to: http://bbs.itying.com/topic/63eafd840d0a6c0aecbe5436

I tested on my computer and it can be solved

Guess you like

Origin blog.csdn.net/tangshangkui/article/details/129151327