简体   繁体   English

Java版本(32位和64位操作系统)

[英]Java version on 32 bit and 64 bit os

I'm doing a task of getting the latest java version from web site http://java.sun.com/update/1.7.0/map-m-1.7.0.xml and then compare with the java installed in the local machine. 我正在执行从网站http://java.sun.com/update/1.7.0/map-m-1.7.0.xml获取最新Java版本的任务,然后将其与本地安装的Java进行比较。机。 If the local java version is not the latest, then alert user. 如果本地Java版本不是最新的,则警告用户。

In Windows 64 bit machine users can install both 32 bit java and 64 bit java, so I have to get all java versions from registry and compare the local java versions with the latest java version. 在Windows 64位计算机上,用户可以同时安装32位Java和64位Java,因此我必须从注册表中获取所有Java版本,并将本地Java版本与最新的Java版本进行比较。

My question is: Every time when a new version of java is released, will they release new version for both 32 bit and 64 bit at the same time? 我的问题是:每次发布Java新版本时,他们会同时发布32位和64位的新版本吗? And for both 32 bit and 64 bit version, will the version number be the same? 对于32位和64位版本,版本号是否相同?

If the 32 bit and 64 bit version maybe not released at the same time, then the way to get the latest java version from http://java.sun.com/update/1.7.0/map-m-1.7.0.xml maybe not accurate since I have to distinguish the version of 32 bit and 64 bit. 如果32位和64位版本可能不会同时发布,则可以从http://java.sun.com/update/1.7.0/map-m-1.7.0获取最新的Java版本。 xml可能不准确,因为我必须区分32位和64位的版本。 Does anyone have any idea of getting latest java version(full version) for both 32 bit and 64 bit os? 有谁知道获得32位和64位OS的最新Java版本(完整版)的想法吗?

Every time when a new version of java is released, will they release new version for both 32 bit and 64 bit at the same time? 每次发布新版本的Java时,他们会同时发布32位和64位的新版本吗?

No. There have been cases where the 32 bit version appeared first. 否。在某些情况下,32位版本会首先出现。 I expect there will come a time when the 64 bit version arrives first. 我希望会有一段时间第一个64位版本到来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM