warn and continue if using wrong jdk

Change-Id: Ide508ac6417f14e2fb7ff07a1696f64acbe78982