Added options to override archive directory manually instead of using autodetection, as well as adding mkdir_p to java_home