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
in super user privilege on your terminal open
vi etc/environment
on opened file add JAVA_HOME path
JAVA_HOME="/usr/lib/jvm/java-7-openjdk-i386/"
Hope you set the JAVA_HOME check if your JAVA_HOME is set using command
echo $JAVA_HOME