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.
Make sure to install the latest JDK 12 from below link
https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html
Configure the JVM and verify with command "java -version"
If above tasks has completed, retry the installation process.@naj
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. ie : C:\\Program Files\\Java\\jdk1.8.0_181\\bin
Set the JAVA_HOME Variable
Windows: configure java_home guide
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.