Setting target java version.