I'm setting up Android Development Environment on my Macbook Air running OS X 10.8 Mountain Lion.
I have installed JDK for mac by downloading from oracle website.
Then I run java -version
which shows java version "1.7.0_13"
Then I downloaded ADT bundle for MAC from http://developer.android.com/sdk/index.html
Then I ran eclipse and it shows a install dialog to install java. it says
To open “Eclipse,” you need a Java SE 6 runtime. Would you like to install one now?
Why is it asking for java, when I already installed java?
And Java is included in my path too. What went wrong?