Judge: Jury selection, trial of James Holmes could last 8 months