I am new to this, but here's what I did to resolve this problem:
"I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified"
I installed in this order:
then added to the environment path the location of my javac.exe and managed to build without any errors.
hope this helps.