[英]JDK 1.6.0 update 45 does not install the “Public JRE” - why?
I was trying to upgrade Java 1.6.0 to the latest update 45. I first uninstalled the previous version (update 43), but this time for some odd reason the JDK installer (jdk-6u45-windows-i586.exe) does not install the "Public JRE" as it normally does along with the JDK. 我试图将Java 1.6.0升级到最新的更新45.我首先卸载了以前的版本(更新43),但这次由于一些奇怪的原因JDK安装程序(jdk-6u45-windows-i586.exe)没有安装通常与JDK一起使用的“公共JRE”。 It does not even list it as options (it only shows Development Tools and Source Code, but does not list "Public JRE"). 它甚至没有将它列为选项(它只显示开发工具和源代码,但不列出“公共JRE”)。
When I thus subsequently tried to install the JRE separately (using jre-6u45-windows-i586.exe), I got the message that the JRE was already installed. 当我随后尝试单独安装JRE时(使用jre-6u45-windows-i586.exe),我收到了已经安装了JRE的消息。
So, for some odd reason the JDK installer (as well as the JRE-installer) seem to believe that JRE 1.6.0 update 45 is already installed while it is NOT. 因此,由于一些奇怪的原因,JDK安装程序(以及JRE安装程序)似乎认为JRE 1.6.0更新45已经安装,而不是。
Any idea, how to convince it otherwise? 任何想法,如何说服它呢?
This is on Windows 7 (x64 Enterprise) and with the 32-bit Java version (the 64 bit version installed fine as usual. I need both versions for test purposes just to avoid that question...) 这是在Windows 7(x64企业版)和32位Java版本(64位版本照常安装。我需要两个版本用于测试目的只是为了避免这个问题...)
I'm at a loss to understand what your problem is. 我无法理解你的问题是什么。 The JDK install includes all of the tools and libraries that a JRE install contains. JDK安装包括JRE安装包含的所有工具和库。 Add the bin
subdirectory on your shell's PATH environment variable and both the JRE tools and the other tools can be used. 在shell的PATH环境变量上添加bin
子目录,可以使用JRE工具和其他工具。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.