赞
踩
mv jbr jbr_bak ln -s /usr/lib/jvm/jdk-17-oracle-x64 jre ln -s /usr/lib/jvm/jdk-17-oracle-x64 jbr
更新.bashrc里面
JAVA_HOME=usr/lib/jvm/jdk-17-oracle-x64 jre source .bashrc
然后运行flutter doctor