Fix Flutter Unable to find bundled Java version

preview_player
Показать описание
Fix "Unable to find bundled Java version" problem with Android Studio on Flutter.
Mac
sudo ln -s jbr jre

On Linux, it is wherever you installed Android Studio. On my Ubuntu 22.04, I installed it in /opt/. However, this depends on where you installed Android Studio.

Tip from Stefano Montani
"Beware. If you do it like this, you will have problems updating Android Studio. It is better to rename the actual "jre" folder in something like "_jre" and copy the "jbr" folder, renaming the copy to "jre". So, before an update, you can delete the "jre" folder and restore the original one."
Рекомендации по теме
Комментарии
Автор

Thank you! I spent a whole day digging into this thing until this video found me

SuperNelmer
Автор

it worked for me after upgrading to Android Studio Flamingo | 2022.2.1 Patch 2 today. Thank you !

dakevs
Автор

I spent hours trying to fix this. Big thanks! <3

jekabscudars
Автор

Spent days solving this error. You are such a life saver. Thank you so much

anishabhandari
Автор

straight to point, easy and simple ! Thanks so much!!

diogomagalhaes
Автор

Thank you, I've been looking for this solution for the 3 days ago

diky
Автор

i spent a day for fix it. Thanks for this video, fixed that whole damn problem :)

fsbrke
Автор

Nice clear fix. Easier for me than doing a sym link in Windows. It worked, Flutter doctor is all green checks now.

jessecasman
Автор

Thanks a lot man! everything I needed solved!

matheusantos
Автор

Beware. If you do it like this, you will have problems updating Android Studio. It is better to rename the actual "jre" folder in something like "_jre" and copy the "jbr" folder, renaming the copy to "jre". So, before an update, you can delete the "jre" folder and restore the original one.

StefanoMontani
Автор

I don't know how to thank you. you are the most amazing and perfect man in the world. Thank a lot

roohollahhabibi
Автор

You are worth the Purpl Heart THanks you Sir.

brianbh
Автор

Very easy and effective solution, thanks!

keenoogodlike
Автор

Thanks Brother. Saved lot of minutes for me!

kavindukithmina
Автор

I don't understand how it is possible that these rare errors happen and we have to fix them in such a sloppy way. thank you

antonioestebanpestanaguerr
Автор

And for macbook m1 what would be the procedure?

igorpaiva
Автор

Thank you dear!! you actually saved a lot of my time

ishikamiglani
Автор

The problem is I don’t have the jbr folder what to do😢

AamirK
Автор

😂😂😂 tnx man
No 30 seconds intro straight to the point 🗿

Auraachive
Автор

thank you, i tried so many things to solve this and ChatGPT is not really helping in these scenarios, thanks again

ahmedgemy