“必须安装JRE 1.3或更高版本!"/“必须安装JDK 1.3或更高版本!" Windows 7(x64)上安装JAI 1.1.3时出错 [英] "JRE 1.3 or higher must be installed!" / "JDK 1.3 or higher must be installed!" errors installing JAI 1.1.3 on Windows 7 (x64)

查看:524
本文介绍了“必须安装JRE 1.3或更高版本!"/“必须安装JDK 1.3或更高版本!" Windows 7(x64)上安装JAI 1.1.3时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到这些错误...

I am getting these errors...

严重:必须安装JRE 1.3或更高版本!

严重:必须安装JDK 1.3或更高版本!

...在Windows 7(x64)上安装JAI(Java Advanced Imaging)1.1.3时,在"C:\ Program Files \ Java \ jre7"和JDK 7(1.7)中安装了JRE 7(1.7)在"C:\ Program Files \ Java \ jdk1.7.0".

...when installing JAI (Java Advanced Imaging) 1.1.3 on Windows 7 (x64), with JRE 7 (1.7) installed at "C:\Program Files\Java\jre7" and JDK 7 (1.7) installed at "C:\Program Files\Java\jdk1.7.0".

跟随 http://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html#Windows ,特别是我所做的:

Following http://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html#Windows, specifically this is what I did:

访问:

  • http://download.java.net/media/jai/builds/release/
  • http://download.java.net/media/jai/builds/release/1_1_3/ (latest version)

下载:

  • 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
  • http://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-windows-i586.jar.zip

编辑(问题):如果有人可以分解这些文件之间的差异,那就太好了. http://download.java.net/上的说明media/jai/builds/release/1_1_3/INSTALL.html#Windows 并没有详细介绍,并假设您已经知道了什么.

EDIT (QUESTION): It would be great if someone could break down 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 enough detail and assume you already know what's what.

如下面的评论所述,.exe是独占安装,但我希望将它们安装到所有三个位置(安装到"C:\ Program Files(x86)\ Sun Microsystems \ Java Advanced Imaging 1.1.3以及我的JDK和JRE位置),因为我不确定作为Java开发人员在工作中需要哪些知识.据我所知,我只需要安装JDK版本,而.zip是手动安装的同一件事.不过我不确定!未验证.

As noted in the comments below, the .exe are exclusive installs, but I wished to install them to all three locations (to "C:\Program Files (x86)\Sun Microsystems\Java Advanced Imaging 1.1.3" as well as to my JDK and JRE locations), as I was not sure which I would need at my work as a Java developer. As far as I know, I just need to install the JDK version, and the .zip is a manual install of the same thing. I am not sure though! Unverified.

已安装:

  • jai-1_1_3-lib-windows-i586.exe(安装正确)
  • jai-1_1_3-lib-windows-i586-jre.exe< ----这是导致错误之一的原因.
  • jai-1_1_3-lib-windows-i586-jdk.exe< ----这是导致错误之一的原因.

错误似乎与找不到Java(JRE和JDK)的安装位置相同.

The errors appear to be the same issue of not finding where Java (JRE and JDK) is installed.

我设置了以下环境变量:

I have the following environment variables set:

  • JAVA_HOME = C:\ Program Files \ Java \ jdk1.7.0
  • 路径= ...; C:\ Program Files \ Java \ jdk1.7.0 \ bin

这使我认为问题比环境变量更深,因为JRE没有像JDK(即JAVA_HOME)那样的环境变量,对吗?

This makes me think the problem is something deeper than environment variables, as there's no environment variables for JRE like there is for JDK (i.e., JAVA_HOME), right?

修正了我尝试过的方法(无济于事):

Fixes I have tried (to no avail):

  • 重新安装*.
  • 重新下载并重新安装*.
  • 将"C:\ Program Files \ Java \ jre7 \ bin"添加到路径",然后重新安装*.
  • 在不删除上述路径添加的情况下,将"C:\ Program Files \ Java \ jre7"添加到路径",然后重新安装*.
  • 在路径"中添加"C:\ PROGRA〜1 \ Java \ jre7",并确认它是正确的文件夹,然后重新安装*.
  • 将JAVA_HOME从"C:\ Program Files \ Java \ jdk1.7.0"更改为"C:\ PROGRA〜1 \ Java \ JDK17〜1.0",并验证它可以正确转发回Windows中的原始文件夹,然后重新-安装*.
  • 将Java重新安装到非空间文件夹"C:\ xxx \ xxx \ jdk1.7.0",其中x是字母而不是空格,并验证了它是否可以在"java -version"命令行下正常运行,并且重新安装**.

*下载并安装jai-1_1_3-lib-windows-i586-jre.exe

*Downloading and installing jai-1_1_3-lib-windows-i586-jre.exe

**下载并安装jai-1_1_3-lib-windows-i586-jdk.exe

**Downloading and installing jai-1_1_3-lib-windows-i586-jdk.exe

这些都不起作用. :(

None of this worked. :(

我还没有尝试过:

  • 使用比7(1.7)更旧的JRE

任何帮助都会很棒.

可能(黑客)解决方案:手动安装如何?这就是我们在工作中选择要做的事情.可以找出要安装哪些文件(因为无法安装而不安装)?

POSSIBLE (HACK) SOLUTION: What about manual installation? It's what we've opted to do at work. Is it possible to figure out what files are installed (without installing it since I cannot)?

我还验证了"JAI(Java高级映像)图像I/O"在我的系统上是否存在相同的问题.

I have also verified that "JAI (Java Advanced Imaging) Image I/O" has the same problems on my system.

推荐答案

JAI仅在32位(x86)JRE上可用,因此您需要在Windows 7上安装32位JRE.

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

JAI使用某些本机实现(dll)来加快处理速度,因此只能安装在32位JRE上.

JAI uses some native implementations (dlls) in order to accelerate the processing, so only installs on a 32bit JRE.

在安装JAI时,它将尝试检测已安装的JRE,并且应为32位JRE.您可以在Windows 7 x64上安装32位JRE,唯一的区别就是Java应用程序的性能和最大内存.

When installing JAI, it tries to detect the installed JRE and should be a 32bit JRE. You can install 32bit JRE on a Windows 7 x64, the only "difference" is the performance and the maximum memory available to 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".

另一种方法是从JAI手动安装zip,使用jai-1_1_3-lib-windows-i586.jar.zip并从32位JRE执行.

Another way is manual installation from JAI as zip, use jai-1_1_3-lib-windows-i586.jar.zip and execute from the 32bit JRE.

这篇关于“必须安装JRE 1.3或更高版本!"/“必须安装JDK 1.3或更高版本!" Windows 7(x64)上安装JAI 1.1.3时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆