0

THIS QUESTION DOESNT HAVE AN ANSWER, THERE IS NO DAMN BACK BUTTON IN MY CASE!!!

Solution: ITS STILL NOT WORKING IN JDK8, you have to use ordinary Android SDK or Android Studio with JDK7! Thanks to Elliot Frisch's comment.

i hope thats the right metasite for that kind of stuff. i have properly installed java JRE and Java JDK. I can compila and execute java from commandline but if i try to install androi studio i get an error that JAVA_HOME doesnt point to a valid JVM installation.

are there additional things i have to install before using android studio or is the JAVA_HOME path different for android studio?

i put

C:/.../jre.x.x
C:/.../jre.x.x/bin
C:/.../jdk.x.x
C:/.../jdkx.x/bin

to my JAVA_HOME Path.

user4438328
  • 35
  • 1
  • 11
  • I recommend to see these pages http://stackoverflow.com/questions/4382178/android-sdk-installation-doesnt-find-jdk http://stackoverflow.com/questions/4613046/setting-java-home-at-android-sdk – Reza Jan 11 '15 at 22:16
  • Sry of course i use Backticks on Windows8. For the other one see my answer on GreenDay's comment. – user4438328 Jan 11 '15 at 22:36

2 Answers2

2

First, set your JAVA_HOME to only one folder (and it's the parent of bin)

set "JAVA_HOME=C:/.../jdk.x.x"

Add it to your path like

set "PATH=%PATH%;%JAVA_HOME%\bin"
Elliott Frisch
  • 198,278
  • 20
  • 158
  • 249
0

I recommend to see these pages for more information, and always search before asking, I'm sure you can find the answer more quickly.

Android SDK installation doesn't find JDK

Setting JAVA_HOME at Android SDK

in windows just setting JAVA_HOME environment variable to only "C:\Program Files\Java\jdkx.x.x_xx" is enough.

x x x -> relate to your JDK version.

C:\Program Files\Java\ -> depend to your java installation directory

Community
  • 1
  • 1
Reza
  • 193
  • 1
  • 2
  • 19
  • To the first Link: In my case there is no back button.. http://picload.org/image/cccoroc/screenshot10.png And to the 2nd Link my Home_Path works for Java, why not for Android Studio? How should i place 2 Paths in 1 Variable? I have to include both, not? – user4438328 Jan 11 '15 at 22:33
  • please dont recommend irrelevant links. – user4438328 Jan 11 '15 at 22:48