SyntaxFix
Write A Post
Hire A Developer
Questions
In my case the problem was the JAVA_HOME variable was set an installed jre.
An alternative to setting the AS_JAVA variable is to set JAVA_HOME environment variable to the jdk (i.e. /usr/local/jdk1.7.0.51).