Installing 1.8.12 Win problem: is not a valid Win32 application

Have downloaded and installed the Arduino 1.8.12 Windows version on a WinXP computer.
When starting a project (old or new, Arduino Mega), I keep getting the following: Cannot run program "E:\Program Files\arduino-1.8.12-windows\arduino-1.8.12\arduino-builder": CreateProcess error=193, %1 is not a valid Win32 application
I have tried both the zip and installer options, but still get the same.

It runs ok on Win10 computer.
Any idea?

a WinXP computer

I suspect that is the problem

I believe the last version of the Arduino IDE that was compatible with Windows XP is 1.8.9. You can download it here: