Added support for jdk version for source and target