简体   繁体   English

哪个Java版本可以安装Windows x86,Windows x64,以便它将同时在32位和64位上运行

[英]which java version to install Windows x86,Windows x64 so that it will run on both 32 bit and 64 bit

when i go to download page of the java there are two version for java 当我去下载Java页面时,有两个Java版本

Windows x86 
Windows x64

How to find out which version is suitable for installation ? 如何找出哪个版本适合安装?

If your OS is windows 32 bit then download Windows x86 version. 如果您的操作系统是Windows 32位,则下载Windows x86版本。 If your OS is windows 64 bit then download Windows x64 version. 如果您的操作系统是Windows 64位,则下载Windows x64版本。

Java is platform independent. Java是平台无关的。 If you use platform independent libraries when developing; 如果在开发时使用独立于平台的库; Your app will run on both 32 and 64 bit. 您的应用程序将同时在32位和64位上运行。

I have figured out a way to to check which architecture is your system through command prompt 我想出了一种通过命令提示符检查您的系统是哪种体系结构的方法

wmic os get osarchitecture

Run this on your command prompt and you will get 在命令提示符下运行此命令,您将获得

"32-bit" or "64-bit".

and download the respective exe. 并下载相应的exe。

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

相关问题 java.lang.UnsatisfiedLinkError:无法在Windows x86机器上的32位JVM上加载64位SWT库 - java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM in Windows x86 machine Windows 7(x64)支持Java 1.4 64位吗? - Is Java 1.4 64 bit supported in Windows 7 (x64)? 使用32位JDK的Windows x64上的Tomcat - Tomcat on Windows x64 using 32-bit JDK java.lang.UnsatisfiedLinkError:dlopen在64位而不是32位上失败,而.so应该在x86中构建 - java.lang.UnsatisfiedLinkError: dlopen failed 64-bit instead of 32-bit while .so should be built in x86 将系统JRE从64位更改为32位(Windows 8 x64) - Change system JRE from 64bit to 32bit (Windows 8 x64) Java程序文件(x86)和64位和32位程序文件 - Java program files (x86) and program files 64 bit and 32 bit Java Windows x64 中的串行 I/O 使用 JRE x86 - Java Serial I/O in Windows x64 using JRE x86 Java-Mac和Windows x86和x64的网络摄像头拍摄/视频 - Java - Webcam shot/video with Mac and Windows x86 & x64 Windows AMD的jdk / jre 5.0 64位下载是否可与Windows x86一起使用? - Will jdk/jre 5.0 64 bit download for windows AMD work with Windows x86? 包括用于x86和x64位操作系统的其他jar - Include a different jar for x86 and x64 bit operating systems
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM