简体   繁体   English

JDK 1.6.0更新45没有安装“Public JRE” - 为什么?

[英]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.

相关问题 jdk 1.6.0_45中不是AbstractListModel通用的 - AbstractListModel is not generic with jdk 1.6.0_45 SDKMAN 吗? 只安装 JRE 还是同时安装 JDK? - Does SDKMAN! install JRE only or also JDK? 如何安装JDK和JRE - How to install JDK and JRE JDK中包含的JRE不能用作公共JRE吗? - JRE included in JDK cannot be used as public JRE? 安装Java JDK后,为什么需要安装JRE - After the installation of the Java JDK, why do I need to install the JRE 为什么我的JAVA_HOME指向jre而不是jdk? - Why does my JAVA_HOME point to jre instead of jdk? 如果 JVM <jre<jdk why if i install the last version of jdk, a specific jre installation is also required to make games work?< div><div id="text_translate"><p> JRE 包含在 JDK 安装中还是我错了? 为什么我必须专门安装 JRE 才能玩基于 Java 的游戏,例如我的世界? </p></div></jre<jdk> - If JVM<JRE<JDK why if I install the last version of JDK, a specific JRE installation is also required to make games work? Java 只更新 jre 而不是 jdk - Java update only jre and not jdk 我安装了JRE和JDK 8,但在Eclipse中显示了Java / JavaVirtualMachines / 1.6.0 JDK。 该怎么办? - I installed JRE and JDK 8, but in Eclipse it shows Java/JavaVirtualMachines/1.6.0 JDK. What to do? 如何在mac os mavericks上安装Netbeans 7.4(已经安装了jdk 7 update 45)? - How to install Netbeans 7.4 on mac os mavericks (with jdk 7 update 45 already installed)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM