Why does Chrome Java updater installs a global 32bit JRE on a 64bit machine?

余生颓废 提交于 2020-01-14 08:17:08

问题


Recently I updated the JRE through the update process which chrome (Version 38.0.2125.104 m) offers ("your java is outdated and needs an update" or similar). The result was that my eclipse luna (64 bit) did not execute anymore. Looking closer to the background I detected: the chrome java updater (notabene started from an Oracle site) added C:\ProgramData\Oracle\Java\javapath in front of the env var PATH. This folder contains three symbolic links to the newest java 8 JRE installation in (x86) program folder -> hence to a 32 bit java JRE.

Obviously Oracle replaced (with Java8) the old technique - having the java launchers in system32 (for 64bit applications) resp. SysWOW64 (for 32bit applications) - with this new approach. But: In these locations there still are the "old" java.exe/javaw.exe/javaws.exe, notably also actual versions (same file date as the new symlinks).

My questions are: a) what is the reason for installing a global 32bit JRE on a 64bit machine? b) Is there a better approach to solve the problem than just deleting the new path entry?


回答1:


Chrome developers are lazy and don't want to waste time finding out how to use full 64-bit instructions, registers etc.



来源:https://stackoverflow.com/questions/26502059/why-does-chrome-java-updater-installs-a-global-32bit-jre-on-a-64bit-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!