Setting the JAVA_HOME automatically.

JAVA_HOME=$(readlink -f /usr/bin/javac | sed “s:bin/javac::”)