fixed adb installation check with java 1.8