Java 手动设置 Android Studio 的 JDK 路径

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23764903/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 01:06:11  来源:igfitidea点击:

Manually setting JDK path for Android Studio

javapathandroid-studio

提问by Yoland Gao

How can I use a custom JDK path for Android Studio? I don't want to mess with PATH because I don't have admin rights. Is there a config settings file somewhere that allows me to set this up?

如何为 Android Studio 使用自定义 JDK 路径?我不想惹 PATH 因为我没有管理员权限。某处是否有允许我进行设置的配置设置文件?

采纳答案by Software Engineer

If you look at the project settings you can reach the jdk from there. On the standard windows keymap you can select the project in the project panel and hit F4. The jdk is on the project settings..

如果您查看项目设置,您可以从那里访问 jdk。在标准 Windows 键盘映射上,您可以在项目面板中选择项目并按 F4。jdk 在项目设置上..