Eclipse ADT was working until update of Eclipse to the next version Juno with ADT.
Now, Eclipse can not find any installed JREs. I have followed several difference restoration methods on StackOverFlow, SOF, which included reinstalling JDK...I used Apple support KB download [ http://support.apple.com/kb/DL1572?viewlocale=en_US ] to update existing JDK 6...
As diagnostic, ran the following so I know that the JREs are there..
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
$ /usr/libexec/java_home -V
Matching Java Virtual Machines (2):
1.6.0_65-b14-466.1, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-466.1, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
$ which java
/usr/bin/java
I researched SOF [Installing Java on OS X 10.9 (Mavericks) ] several posting suggest, using:
$ export JAVA_HOME="/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home"
Then add that to your PATH:
$ export PATH=$JAVA_HOME/bin:$PATH
I have tried several methods posted on StackOverFlow without success. I have not tried the above, because I do not understand how it works. If you have a better suggestion or can explain how "exporting" the Java Home would solve the issue, please POST.