即使我的 MAC 上安装了 JRE 8 -"不存在 Java 运行时,请求安装“显示在终端中 [英] Even though JRE 8 is installed on my MAC -" No Java Runtime present,requesting to install " gets displayed in terminal
问题描述
即使在我的 MAC OS Yosemite 10.10.3 上安装了 JRE 8,在运行 sdk 工具中存在的 Android 时 - 错误 - 没有 Java 运行时存在,请求安装"显示在终端中 - 我该如何解决这个问题?
Even though JRE 8 is installed on my MAC OS Yosemite 10.10.3,while running the Android present in tools in sdk - the error - " No Java Runtime present,requesting to install " gets displayed in terminal- how do i solve this issue?
我想安装 Xamarin 测试记录器 - 在安装它们之后让我安装 Android sdk
I wanted to install Xamarin test recorder - after installing they asked me to install Android sdk
SDK 下载到 Library/Developer/Xamarin/android-sdk
SDK is downloaded in Library/Developer/Xamarin/android-sdk
现在,当我在工具文件夹中运行 Android 时 - 我收到错误 -没有 Java 运行时
Now when I run Android present in tools folder - I get the error - No Java run time
我已经安装了 JRE 8 并获得了验证来自他们网站的 java 版本
I've installed JRE 8 with get the verified java version from their site
有人可以帮忙吗!!
推荐答案
您必须安装完整的 JDK,而不仅仅是 JRE.
You have to install the full JDK, not only the JRE.
我遇到了同样的问题并通过安装 JDK 解决了.
I had the same issue and solved by installing JDK.
请使用此链接下载最新的 JDK 17 版.
Please use this link to download the latest JDK version 17.
这篇关于即使我的 MAC 上安装了 JRE 8 -"不存在 Java 运行时,请求安装“显示在终端中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!