Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why JDK location can't change on Android Studio 3?

I was working on android studio. In this time I open another java software. After this my studio show below error.

image1

If I open JDK setting and change the jdk location, it change but not save. If I restart studio the default location come again and show the error.

image2

I don't find any help on google and youtube. Please anyone help me.

like image 345
shariful islam Avatar asked Nov 17 '25 04:11

shariful islam


1 Answers

If you unceck the box "Use embedded JDK (recommended)" it should allow you to set a path to JDK manually. Please post back if there are any other issues.

However, I'd recommend you let Android Studio install its own JDK where it wants it, and then you install a separate one (or even better, make the other programs go look for JRE under the android studio path)...

like image 53
Lorenzo Battilocchi Avatar answered Nov 18 '25 17:11

Lorenzo Battilocchi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!