Set java version