I have installed Android sdk and installed ADT pulgin as well on ubuntu 10.4.
But when i open eclipse. I got the below error message.

Edit:
I have java already in my PC.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Open Eclipse and go to Preferences (Window -> Preferences), select the Android tab and Browse to you SDK location.
If this not works try to reinstall Android SDK