Home >Java >javaTutorial >How to Fix \'Unable to Find Bundled Java Version\' Error in Flutter?
Unable to Find Bundled Java Version in Flutter
Flutter developers may encounter an issue where Flutter doctor command displays "Unable to find bundled Java version." This error hinders Flutter development, requiring a resolution to proceed.
For Mac Users
JetBrains Runtime "Android Studio Electric Eel":
cd /Applications/Android\ Studio.app/Contents/jbr ln -s ../jbr jdk ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
Navigate to Finder and search for Android Studio:
Other JetBrains Runtime Versions:
cd /Applications/Android\ Studio.app/Contents/jre ln -s ../jre jdk ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
For Mac Users with JetBrains Toolbox:
cd /Users/username/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents/jre ln -s ../jre jdk ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
If the Issue Persists:
The above is the detailed content of How to Fix \'Unable to Find Bundled Java Version\' Error in Flutter?. For more information, please follow other related articles on the PHP Chinese website!