[updated] Download Java In Android Studio | 2025 |
: Go to File > Settings (Windows/Linux) or Android Studio > Settings (macOS).
If your project requires a specific Java version that isn't the default, you can download a new JDK without leaving the IDE: download java in android studio
If you prefer a standalone installation (for example, to use Java in your terminal or other apps), follow these steps: : Go to File > Settings (Windows/Linux) or
Using the bundled version is highly recommended because it is specifically tested to work with the IDE and prevents version conflicts that often occur with separate system-wide Java installations. Android Studio comes with its own bundled JDK
For most developers, you do need to download Java separately. Android Studio comes with its own bundled JDK (Java Development Kit) based on JetBrains Runtime (a fork of OpenJDK).
: Expand Build, Execution, Deployment > Build Tools and select Gradle . Choose JDK : Look for the Gradle JDK dropdown menu.
