change  jdk  watch to  polling