"You must install JRE 1.3 or higher!" / "JDK 1.3 or higher must be installed!" JAI 1.1.3 installation errors on Windows 7 (x64)

I get these errors ...

"Severe: JRE 1.3 or higher must be installed!""Severe: JDK 1.3 or higher must be installed!"

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.

+7
source share
5 answers

JAI is only available on the 32-bit (x86) JRE, so you need to install the 32-bit JRE on Windows 7.

JAI uses some native implementations (dlls) to speed up processing, so it installs only on a 32-bit JRE.

When installing JAI, it tries to detect the installed JRE and should be a 32-bit JRE. You can install the 32-bit JRE on Windows 7 x64, the only “difference” is the performance and the maximum memory available for Java applications.

Install JAva 7 JRE 32bit from http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html select "Windows x86 Offline".

Another way is to manually install from JAI as zip, use jai-1_1_3-lib-windows-i586.jar.zip, and execute from a 32-bit JRE.

+6
source

to install JRE version 1.3 or later? (and make sure your PATH points to it)

[edit]
Are you sure there is a problem? It seems that the three files you downloaded are mutually exclusive (which I got from reading the installation instructions)

http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-windows-i586-jdk.exe http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-windows-i586-jre.exe http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-windows-i586.exe 

Installing -jre or -jdk may be redundant
I installed the jre version and he asked me to create a jre directory - will any of you happen to you?
[/ Edit]

+3
source

try installing (reinstalling) java (jre) in a folder without any spaces. For example, C: \ Java \ jre7.

+1
source

You must install the 32-bit version of jdk

+1
source

I solved this problem by installing a 32-bit version of jdk. My OS is an 8 64-bit window. when installing jai-1_1_3-lib-windows-i586-jdk.exe and jai_imageio-1_1-lib-windows-i586-jdk.exe with a double click, I got the same error "Heavy: JRE 1.3 or higher must be installed!" then I downloaded jdk-7u21-windows-i586.exe and installed it in "c: \ Program Files (x86) \ Java". and then it’s OK.

0
source

All Articles