Set java ver based on arch