@ahgk
The method described in this thread does NOT work. The problem is that any Java app built with a 6.x installer will not install on a system running Java 8. The issue is that when the installer checks the installed version of Java, version 6.x reported its
version as "60", and it would normally accept a return value of "80" as newer, and therefore compatible. With Java 8.x though (and possibly 7.x, I don't know), Java reports its version with three digits (i.e. 800) which confuses the 6.x installer into thinking
the installed Java version is too low to install onto (my guess is that it only looks at the last two digits... "00"). Setting environment variables and other workarounds do not fix this issue, but luckily, there IS a workaround that allows a 6.x installer
to work on a system with Java 8.x installed.
The solution is to run the installed with additional parameters which tell it to run itself with the Java.exe installed on your system instead of the one packaged into the installer. To install your 6.x Java app on your Java 8.x system...
- Open a command line window
- Enter the following command in the command window...
installer.exe LAX_VM "C:\Program Files (x86)\Java\jre1.8.0_121\bin\java.exe"
Replace "installer.exe" with the filename of the installer you are trying to execute, and change the path to java.exe to match the location on your own system. When you enter this command and hit <Enter> the GUI installer will execute normally and you can
close the command line window.