How do I resolve this error - no java runtime present, requesting install.

574    Asked by Bhaanumatishukla in Java , Asked on Oct 13, 2022

 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?


I wanted to install Xamarin test recorder - after installing they asked me to install Android sdk SDK is downloaded in Library/Developer/Xamarin/android-sdk Now when I run Android present in tools folder - I get the error - No Java runtime I've installed JRE 8 with get the verified java version from their site Can someone please help!!


Answered by ROHIT Jhadav

You don't need to install the full JDK for no java runtime present, requesting install. I had the same issue and eventually solved it by placing the following JAVA_HOME export in ~/.bash_profile:


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

Hope this helps someone. I'm running Mac OS High Sierra.



Your Answer

Interviews

Parent Categories