Checking java version at runtime.