Download java and maven only if is not already installed