I am on the verge of releasing a project but it seem JAVA_HOME is been inconsistent. Maybe it\'s been overridden somewhere else? I am using ubuntu 14.04 and I have openjdk-7, ja
I had the same problem. My workaround was:
cd /usr/lib/jvm/java-8-oracle/jre/bin sudo ln -s /usr/lib/jvm/java-8-oracle/bin/java java