remove build failure when no JDK is installed