Windows installer script raise error if no JDK detected