Updated the JAVA_HOME variable to point to /etc/alternatives/sdk