While running an installer, you might get an error similar to the following, that prevents the installation from completing.
This error is caused because the selected installer is for the 64-bit version of the tools, but the Java version corresponds to 32-bit. Please, upgrade Java to the 64-bit version. You can download it
here
.