JDK Location in Android Studio

If you are looking for the location where JDK is installed or want to change the default location set in Android Studio then follow the below-given steps :

  1. One Android Studio, You would get the Welcome Screen.
  2. Under Quick Start, select Configure.
  3. Now click on Project Defaults.
  4. Click on Project Structures.
  5. Now you with get a window with JDK Location, if you are on Mac OS X the location is something like /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
  6. Change the location and Apply Changes.
Change-Android-Studio-JDK-Location-Path

Note: As of 2024, ensure you are using the latest version of JDK compatible with Android Studio for optimal performance.


This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!