Setting up some new PCs, I didn’t want to put the old JRE on there so I set out to find a way around it. Seems to me the easiest way is just to lie about the Java version to the Spark installer. I dunno if someone else has figured this out in the past, but I never saw any threads about it and kept seeing a bunch of stuff about trying to run the beta (which still wanted 1.5 or 1.6 when I tried build 579) and moving the JRE folder or something. I never got any of that business to work. Anyway, here’s how to do it using my method.
- Open regedit (if you are using x64 open it with %systemroot%\syswow64\regedit -m to open the 32 bit registry editor)
- Go to **HKEY_CURRENT_USER\Software\ej-technologies\exe4j\jvms**c:/program files (x86)/java/jre7/bin/java.exe
- The underlined portion will be different if you are using x86
- On the right hand pane, edit the Version key and change 1.7.whatever to 1.6.whatever
You can now use the smaller online installer so that you don’t have to run an old JRE. You may get an error that it can’t find a JRE when you try to run it. If so, click locate and go to C:\Program Files (x86)\Java\jre7\bin then double click java.exe. The installer should run and finish as usual.
EDIT: I confirmed that what wraithe said is true, so I removed the extra keys that didn’t have to be edited. This makes it even easier