Better way of checking JDT version.