0

I have installed java se 7u71 but running eclipse show the below dialog

enter image description here.

Asim Habib
  • 381
  • 1
  • 4
  • 12

2 Answers2

1

There are active discussions here

Check this https://apple.stackexchange.com/questions/58203/mountain-lion-with-java-7-only/58841#58841 and this thread Eclipse Kepler for OS X Mavericks request Java SE 6

Community
  • 1
  • 1
Suresh Sajja
  • 552
  • 3
  • 8
0

This is because you haven't set your environment variables yet.

Open your terminal and type this

vim ~/.bash_profile  

You can set your environment variables here.

Press i once the file opens up.

Suppose your jdk installation folder is:

/Library/Java/jdk1.7/  

Type this in the file opened in your terminal:

JAVA_HOME="/Library/Java/jdk1.7" 
PATH=$PATH:"$JAVA_HOME/bin"  
Aditya Singh
  • 2,343
  • 1
  • 23
  • 42
  • vim ~/.bash_profile after typing this command in shell vim ~/.bash_profile and pressing i --INSERT-- showed up but no place to type the following 2 lines – Asim Habib Oct 23 '14 at 05:39
  • You need to type on the terminal and then press control+c and type `:wq` to save the file. – Aditya Singh Oct 23 '14 at 06:32