Europa Clipper, which weighs about the same, is planned to make the same trip in five and a half years, and could have done it in less than three if it had launched on SLS:
https://en.wikipedia.org/wiki/Europa_Clipper#Launch_and_traj...
Ariane 5 is not particularly powerful as interplanetary launchers go.