Updated to allow explicitly specifying full download URI.  Incidentally updated Java cookbook version.