Because both planets (Earth and Jupiter) travel in elliptical path around the Sun, Jupiter's distance from Earth is constantly changing. However, the Galileo spacecraft launched for Jupiter in October 1989, and it took just over 6 years to get to the planet.
In 2011, Juno was launched as well, and it is estimated that it will take 5 years to get to Jupiter.