adding JAVA_HOME for FreeBSD