Explore Courses Blog Tutorials Interview Questions
0 votes
in Java by (3.4k points)

I downloaded Android Studio and attempted to launch the program.

This is running on Windows 7 64-bit with Java 1.7. During the installation my Java 1.7 is detected, and the rest of the installation goes through just fine. However, when attempting to launch the application from the desktop icon, nothing happens. Looking at the task manager, a new process from the CMD is loaded. This is because it's attempting to run the batch file studio.bat.

When I execute via CMD, I get the following error:

ERROR: cannot start Android Studio. No JDK found. Please validate either ANDROID_STUDIO_JDK, or JDK_HOME or JAVA_HOME points to valid JDK installation. ECHO is off. Press any key to continue . . .

I've attempted to open the idea properties file to see if there was something I could configure for this ANDROID_STUDIO_JDK or something like that. However, I found nothing. I hope some of you can let me know if you were able to install this or if you are having problems as well.

1 Answer

0 votes
by (46k points)

Attaching a custom variable JDK_HOME with value c:\Program Files\Java\jdk1.7.0_21\ operated for me. The most advanced Java statement can be downloaded here.

Additionally, produce certain the variable JAVA_HOME is also incubated with the raised position.

Related questions

0 votes
1 answer
asked Jan 30, 2021 in Others by dev_sk2311 (45k points)
0 votes
1 answer
asked Feb 17, 2021 in Java by Harsh (1.5k points)
0 votes
1 answer
asked Oct 13, 2019 in Java by Ritik (3.5k points)

Browse Categories