Adding an option to use specific version of Java library