I'm trying to find out what JDK's version does my Android Studio use. I'm confused, because i have many versions in my /Program Files/Java catalog
Unfortunately the project structure doesn't have any JDK's version number.
You can use cmd + ; for Mac or Ctrl + Alt + Shift + S for Windows/Linux to pull up the Project Structure dialog. In there, you can set the JDK location as well as the Android SDK location. To get your JDK location, run /usr/libexec/java_home -v 11 in terminal.
Up to Android Studio 3.5 beta 2 one could use JDK11 for compiling project by configuring it in Project Structure -> SDK Location -> JDK Location. This way Android Studio is run under bundled JDK8 but Gradle is using selected JDK11. Starting from Android Studio 3.5 beta 3 this setup is no longer supported.
The embedded JDK is included in the Android Studio install. If you open the folder where you installed Android Studio, you'll see a jre folder in it:
Inside the folder there is a file called THIRD_PARTY_README
in which the second sentence says:
%% This notice is provided with respect to ASM Bytecode Manipulation Framework v5.0.3, which may be included with JRE 8, and JDK 8, and OpenJDK 8.
I'm using Android Studio 3.0, in which the embedded JDK version is 8. To find the version in any later version though, go to [SDK_INSTALL_ROOT]/jre/
and find THIRD_PARTY_README
THIRD_PARTY_README
is in my system defined as a file
and not a txt
file. You can open it in Notepad, Notepad++ or any other text editor. The content is plain text. You can also look for a file called release
, which contains similar information about versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With