Despite the fact that JRE 8 is installed on my MAC - "Missing Java Runtime is present, the installation request" is displayed in the terminal

Despite the fact that JRE 8 is installed on my MAC OS Yosemite 10.10.3, when launching Android, it is present in the tools in sdk - an error - "Missing Java Runtime is present, installation request" is displayed in the terminal - how can I solve this issue?

  • I wanted to install a Xamarin test recorder - after installation asked me to install Android sdk

  • SDK is loaded into the library / developer / Xamarin / android-sdk

  • Now when I run Android in the tools folder - I get an error - No Java runtime

  • I installed JRE 8 with confirmation java version from my site

Can anybody help!

+38
source share
4 answers

You must install the full JDK, not just the JRE.

I had the same problem and solved it by installing the JDK.

Please use this link to download the latest version 13 of the JDK.

+55
source

I didn't need a full JDK, I just needed to get the JRE to work, and none of the other answers above worked for me. It may have worked before, but now (July 1, 2018) it does not work. I just kept getting an error message and a popup.

I finally solved this problem by putting the following JAVA_HOME export in ~ / .bash_profile:

export JAVA_HOME=/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home

Hope this helps someone. I am using Mac OS High Sierra.

+37
source

, JAVA_HOME ​​, .

JAVA_HOME MAC OSX 10.9

, , .

+5

OS X ( Yosemite, EL Capitan) Apple Java . , .

+1
source

Source: https://habr.com/ru/post/1017297/


All Articles