Installation works fine, JDK was also found without problems. After installation the program does not start. Double clicking the icon results in nothing happening. Starting as admin or installing "just for me" or for all users makes no difference. I am out of answers.. Is this maybe a common issue?
After download and install Java SE Development Kit 7 - "jdk-7u21-windows-x64.exe"
from Oracle site
then adds JAVA_HOME (value = c:\program Files\Java\jdk1.7.0_21)
to environment variables. It works fine with me on Windows 8.
the solution is so simply
by:
Adding a system variable
JDK_HOME
with value c:\Program Files\Java\jdk1.7.0_21\
worked for me.
Latest Java release can be downloaded here.
Go to
control panel -> System -> Advance system settings -> Environment variable
Then, under system variable click new, enter variable name JDK_HOME
and variable value C:\programfiles\java\jdk
(this path can be different on different computer.)
Then restart android studio.
I had this on windows 7 64 bit. I needed to manually set my JAVA_HOME environment variable. Try that, and try running it from a command shell so you can see the exact error.
Here's an existing thread that has a bit more detail on this. As of today, you probably have the same version of Java as the answer, so you could just copy and paste and be on your way in no time.
© 2022 - 2024 — McMap. All rights reserved.