如何找出Android Studio的嵌入式JDK版本? [英] How to find out the embedded JDK version of Android Studio?

查看:104
本文介绍了如何找出Android Studio的嵌入式JDK版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找出我的 Android Studio 使用的 JDK 版本.我很困惑,因为我的/Program Files/Java 目录中有很多版本

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

不幸的是,项目结构没有任何 JDK 的版本号.

Unfortunately the project structure doesn't have any JDK's version number.

推荐答案

嵌入式 JDK 包含在 Android Studio 安装中.如果你打开你安装 Android Studio 的文件夹,你会在里面看到一个 jre 文件夹:

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:

文件夹内有一个名为THIRD_PARTY_README的文件,其中第二句话说:

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.

我使用的是 Android Studio 3.0,其中嵌入式 JDK 版本为 8.要查找任何更高版本的版本,请转到 [SDK_INSTALL_ROOT]/jre/ 并找到 THIRD_PARTY_README

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 在我的系统中定义为 file 而不是 txt 文件.您可以在 Notepad、Notepad++ 或任何其他文本编辑器中打开它.内容为纯文本.您还可以查找名为 release 的文件,其中包含有关版本的类似信息.

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.

这篇关于如何找出Android Studio的嵌入式JDK版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆