简体   繁体   English

flutter医生:找不到捆绑的java版本

[英]flutter doctor: unable to find the bundled java version

在此处输入图像描述

I have updated my system variables and put the path of my java JDK bin files there but it dosen't seem to work.我已经更新了我的系统变量并将我的 java JDK bin 文件的路径放在那里,但它似乎不起作用。

  1. Go to the file "java" following the path where Error is shown. Go 到显示错误的路径后面的文件“java”。
  2. Then right click on the file and go to Properties.然后右键单击文件和 go 到属性。
  3. Then Go to permissions and Check the box "Allow executing file as program".然后 Go 权限并选中“允许将文件作为程序执行”框。
  4. Finally, run flutter doctor to see No issues found..最后, run flutter doctor查看没有发现问题。

other wise if you not installed java否则,如果您未安装 java

  1. install java安装 java

  2. set path of java in Eviormental variable.Eviormental变量中设置 java 的路径。

  3. Finally, run flutter doctor to see No issues found..最后, run flutter doctor查看没有发现问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM