I'm using an ANT build script that I've used in previous versions of OSX. Since upgrading to El Capitan I've been getting the following error displayed in the sublime console. JAVA_HOME does exist, but for some reason sublime and only sublime has issue using it:
Error: JAVA_HOME is not defined correctly.
We cannot execute java
[Finished in 0.0s with exit code 1]
Running the same ANT build script from a terminal window works fine. Was wondering if anyone knew why sublime would be having an issue finding JAVA_HOME
build script I'm attempting to run:
"cmd" : ["ant", "-buildfile", "${project_path}/ant/build/ant_build.xml", "build-and-copy-to-deploy-DEBUG"],
"osx":
{
"path": "/usr/local/bin"
}
Thanks!