Added another dependencies for installing Java.