Late May/Early June is the best. We've done two Alaska cruises leaving May 21 and May 22, they were fabulous. It tends to get rainy later in summer.
Bob lived in Juneau for almost six years, and thinks this is the best time to go.
He also thinks Hubbard Glacier isn't worth it if you have a choice of routes. There is a very narrow entrance to the area, and the glacier has retreated so far you can barely see it. College Fjord or Glacier Bay are far superior.
After schlepping house guests to Portage Glacier outside of Anchorage for 25 years, I don't care if I never see another glacier.