0

I am trying to download android studio but it keeps telling me that i need to update or install Java, which i have done so afew times. But it keeps giving me the Java error message. I am running this on MacOS Mojave version 10.14.5. This is what the error keeps saying:

Unable to find any JVMs matching version "(null)". No Java runtime present, try --request to install. Unable to find any JVMs matching version "(null)". No Java runtime present, try --request to install.

naj
  • 25
  • 5

3 Answers3

2
  1. Make sure to install the latest JDK 12 from below link

    https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html

  2. Configure the JVM and verify with command "java -version"

  3. If above tasks has completed, retry the installation process.@naj

Community
  • 1
  • 1
0

To verify whether you have install JAVA correctly or not in your machine. Do like below :

  • Open Command Prompt and Type : java -version

  • If it shows you the version then it all correct. But, if it does not recognize the command then you need to paste your jdk path in Environment variables. i.e : C:\Program Files\Java\jdk1.8.0_181\bin

Swati
  • 23,244
  • 4
  • 14
  • 34
0

Set the JAVA_HOME Variable

Gianluca Musa
  • 576
  • 5
  • 19