# How to fix the invalid JDK problem on Electric Eel

DevFeed: [How to fix the invalid JDK problem on Electric Eel](<https://devfeed.tech/articles/how-to-fix-the-invalid-jdk-problem-on-electric-eel-37166.md>)

Original publisher: [Read original article](<https://arkadiuszchmura.com/posts/how-to-fix-the-invalid-jdk-problem-on-electric-eel/>)

Published: 2023-01-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Arkadiusz Chmura](<https://devfeed.tech/sources/arkadiusz-chmura.md>)

Topics: [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Android](<https://devfeed.tech/topics/android.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [location](<https://devfeed.tech/tags/location.md>), [other](<https://devfeed.tech/tags/other.md>), [problems](<https://devfeed.tech/tags/problems.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [updating](<https://devfeed.tech/tags/updating.md>)

## AI overview

This tutorial explains how to fix an invalid JDK configuration after updating Android Studio to Electric Eel. It recommends checking the project's Gradle JDK setting and updating the environment variable if it still points to the old embedded JDK location.

## Source excerpt

When updating Android Studio to Electric Eel, the location of the embedded JDK is changing.