Switch between two Java versions?