I get these errors ...


Severe: JRE 1.3 or higher must be installed!
Severe: JDK 1.3 or higher must be installed!
... when installing JAI (Java Advanced Imaging) 1.1.3 on Windows 7 (x64), with JRE 7 (1.7) installed in the folder "C: \ Program Files \ Java \ jre7" and JDK 7 (1.7) in the " C: \ Program Files \ Java \ jdk1.7.0 ".
Following http://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html#Windows , this is exactly what I did:
Visited:
Uploaded:
EDIT (QUESTION): It would be great if someone could break the difference between these files. The instructions at http://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html#Windows do not go into details and assume that you already know that.
EDIT: as indicated in the comments below, the EXE is an exclusive installation, but I wanted to install them in all three locations (in "C: \ Program Files (x86) \ Sun Microsystems \ Java Advanced Imaging 1.1.3" and also in my JDK places and JRE) since I was not sure what I would need in my work as a Java developer. As far as I know, I just need to install the JDK version, and .zip is a manual installation of the same. I'm not sure though! Verified.
set:
- jai-1_1_3-lib-windows-i586.exe (installed perfectly)
- jai-1_1_3-lib-windows-i586-jre.exe <---- this is what causes one of the errors.
- jai-1_1_3-lib-windows-i586-jdk.exe <---- this is what causes one of the errors.
Errors seem to be the same problem when you cannot find where Java is installed (JRE and JDK).
I have the following environment variables:
- JAVA_HOME = C: \ Program Files \ Java \ jdk1.7.0
- Path = ...; C: \ Program Files \ Java \ jdk1.7.0 \ bin
EDIT: This makes me think that the problem is something more than environment variables, since there are no environment variables for the JRE, for example, for the JDK (i.e.JAVA_HOME), right?
Corrections I tried (to no avail):
- Re-installation *.
- Re-download and reinstall *.
- Adding "C: \ Program Files \ Java \ jre7 \ bin" to the "Path" and reinstalling *.
- Adding "C: \ Program Files \ Java \ jre7" to the "Path" without removing the above Path addition and reinstalling *.
- Adding "C: \ PROGRA ~ 1 \ Java \ jre7" to the "Path" and verified that it was the correct folder, and reinstalling *.
- Change JAVA_HOME from "C: \ Program Files \ Java \ jdk1.7.0" to "C: \ PROGRA ~ 1 \ Java \ JDK17 ~ 1.0" and verified it is sent correctly back to the original folder in Windows, and re-installing *.
- Reinstalling Java in the non-spatial folder "C: \ xxx \ xxx \ jdk1.7.0", where x are letters, not spaces, and checks if it works correctly with the command line "java -version" and Reinstall **.
* Download and install jai-1_1_3-lib-windows-i586-jre.exe
** Download and install jai-1_1_3-lib-windows-i586-jdk.exe
None of this worked out. :(
I have not tried:
- Using an older JRE than 7 (1.7)
Any help would be great.
POSSIBLE (HACK) SOLUTION: How about a manual installation? This is what we decided to do at work. Is it possible to determine which files are installed (without installation, since I cannot)?
EDIT: I also confirmed that "JAI (Java Advanced Imaging) Image I / O" has the same problems on my system.