xxxxxxxxxx
In Android Studio Arctic Fox (2020.3.1 Patch 4), the JDK Location setting is
moved to: (and latest versions)
File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK
Up to Android Studio 4.2
You can follow the answer from Ben Kane, the JDK Location setting is located in:
File > Project Structure > SDK Location