Added shortcuts for different versions of Java