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.
install4jError4607340580376653105.log.zip (1797 Bytes)

Try the offline installer.