/Users/yishai/Documents/workspace/Yishais-Mac/Mobile/WedShare/build.xml:145: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre"
Now, my JAVA_HOME is the JDK. See below:
Yishais-Mac:~ yishai$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
In Eclipse, any place I looked for the JRE to use it points to the JDK. I copied the tools.jar from the JDF into the JRE location, and I still get the same error.
Where else can I look for? Any suggestions on how to troubleshoot it?
Thanks
-Yishai