Trouble installing Spark after reinstalling Windows 7

Trying to use the “online installer” I get error: The install4j wizard could not find a Java™ Runtime Environment on your system. You can locate or download a suitable JRE. (minimum version: 1.5, maximum version: 1.6) likewise offline installer won’t work.

I’ve tried uninstalling Java and installing an older version, but I just get a different error. Known issue? How to fix?

Error Log attached. (1797 Bytes)

Try the offline installer.