How can I set the new path for Java JDK? I tried to change the environment variables but it did not work.
IDE: Android Studio Arctic Fox | 2020.3.1 Beta 4
IDE: Android Studio Bumblebee | 2021.1.1
How can I set the new path for Java JDK? I tried to change the environment variables but it did not work.
IDE: Android Studio Arctic Fox | 2020.3.1 Beta 4
IDE: Android Studio Bumblebee | 2021.1.1
File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle
Gradle JDK
fieldApply
changesNB: If you haven't Java environment on your PC, go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html and download Java jdk for your platform.
NB2: It's JDK for your Gradle, not for your source code compiler (!)
Project structure
–
Deyoung Settings
option can be found by going to Android Studio
> Settings
–
Hurlburt Android Studio Bumblebee | 2021.1.1 Patch 1 has a fix for "Env variables not sourced when launched from Mac OS X to Monterey Dock" - See https://androidstudio.googleblog.com/2022/02/android-studio-bumblebee-202111-patch-1.html
© 2022 - 2025 — McMap. All rights reserved.