2

When I try to install Java on Windows Server 2008, it gives me the error below. I tried to install JDK 1.5, JDK6 and JDK7 in both 32-bit and 64-bit versions.

Error message:

The version of the file is not compatible with the version of windows you are running.

I would like to add one more thing, it was Itanium processor server. Please let me know any specific version available for Itanium

How to sort out this issue?

nfechner
  • 166
  • 6
Ramesh Muthiah
  • 123
  • 1
  • 6

3 Answers3

4

This means, that your Windows Server version is x86 (meaning 32-bit). And you tried to install a 64-bit Java, which wont work.

Edit: If this is an Itanium machine, it's quite a different problem. You need to download the Windows Itanium Java 6 installer from here. There wont be a Java 7 version for it, though.

From the Oracle blogs:

Q: What about Linux and Windows on Itanium?

A: Oracle does not plan to port JDK 7 to Windows/Linux Itanium. This is partially due to lack of OS vendor commitments; Microsoft and Red Hat have both stated that they are dropping support for Itanium. However, an OpenJDK port to these platforms is quite feasible as a community project.

Brian
  • 9,034
nfechner
  • 166
  • 6
1

It could be a Processor mismatch. I guess the SDK that you would have tried could be for wrong processor type

0

First check if you are running 32 or 64 bit vesrion of OS : to do so :

1.Press the WIN+R keys (Windows key and R). Type the following: sysdm.cpl

2.Click on "System Summary": Under "Processor" it will either state "x86" if a 32-bit version of Windows is installed, or "EM64T" if a 64-bit version of Windows is installed

if your OS is X86(32-bit) install X86(32-bit) JDK if not install 64-bit vesrion of JDK

codeMan
  • 101