1

I just bought new laptop and I have problems with running android studio. I have read over 20+ questions/answers about this but exact problem but with me it's not working. The problem: After installing the studio (successfully), when I try to run it it sais: No JVM installation found. Please install 64-bit JDK. Note that I have already installed JDK, specified JAVA_HOME, and JDK_HOME as a variable (100%) that the path is correct ("C:\Program Files (x86)\Java\jdk1.7.0_25"). I have also java installed. I have tried reinstalling the studio, reinstalling java and almost everything that I could find on google, but nothing works. Eqlipse, works just fine though. It is not my first time trying to install Android Studio, but I can't figure this one out. I have read from here: Click and here Click mostly, and from a lot more like threads like this, but I cant solve my problem. Any ideas?

Community
  • 1
  • 1
ya-ivanov
  • 516
  • 2
  • 11
  • Please show the value of JAVA_HOME and JDK_HOME – Simon Sep 09 '13 at 18:54
  • Both are set to C:\Program Files (x86)\Java\jdk1.7.0_25 – ya-ivanov Sep 09 '13 at 18:56
  • 1
    If you have it installed in _C:\Program Files (x86)\Java\jdk1.7.0_25_ then it's a 32-bit JDK. – GriffeyDog Sep 09 '13 at 19:06
  • @divoom12 It clearly wants the 64bit JDK, you have the 32bit installed. – tolgap Sep 09 '13 at 19:06
  • Okay. I'm downloading x64 version now, and I will try. All this time, I thought that x64 stands for 32-bit, and x84, for 64-bit. I don't know why. I will try and write back. Thanks. – ya-ivanov Sep 09 '13 at 19:10
  • By default, 64-bit Windows programs get installed in _C:\Program Files_ and 32-bit programs in _C:\Program Files (x86)_. – GriffeyDog Sep 09 '13 at 19:12
  • Okay. Now it works. Thanks a lot!! Why x64 stands for 64-bit, and x86 for 32. Why not 32 --> x32? What is the logic behind this? – ya-ivanov Sep 09 '13 at 19:27
  • 1
    Because x86 already existed (from the 8086 processor). x64 was chosen for 64 bit as being completely logical ;) – Simon Sep 09 '13 at 19:30

1 Answers1

1

What you have installed seems to be 32 bit version as it is getting Installed in "Program Files (x86)",Download and install 64bit JDK and that should automatically get installed in "Program Files" folder and not in "Program Files (x86)".

Download 64bit installer of JDK

This might solve the problem.

ofnowhere
  • 1,114
  • 2
  • 16
  • 40