JAVA_HOME should be set to the JKD dir not the JRE dir, such that both:
%JAVA_HOME%\bin\java.exe
%JAVA_HOME%\bin\javac.exe
will work
on my machine for example
JAVA_HOME=C:\apps\Java\jdk1.6.0_32
If you still get problems then try this:
when you get to the page in the installer where it tells you it can't
find Java
click [<back]
click [next>]
this sometimes clears the problem
On Wednesday, June 27, 2012 1:37:22 PM UTC+1, Legion6789 wrote:
>
> I've installed the Java 6 JDK but it can't see it for some reason. I've
> added an environment variable called JAVA_HOME that points to the Java root
> directory and I've tried pointing to java.exe. I've added Java to the PATH
> variable as well. None of this works. Is there an SDK download that
> doesn't involve using this installer?
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en