Do you have Java installed? You need the same Java as Construct 2, so if you have 64-bit Construct 2 you need 64-bit Java (the 32-bit Java won't work in that case). The Java website only gives you the 32-bit one by default unless you manually find the 64-bit version, which is a bit annoying.
I think in stable releases the error message is a bit nicer and basically says what I said above.