Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Mar 5 '13 at 9:42

This question came from our site for professional and enthusiast programmers.

1  
Show the message for a 32-bit install. –  Thorbjørn Ravn Andersen Mar 5 '13 at 8:54
    
I updated the processor type. –  Ramesh Muthiah Mar 5 '13 at 9:41
    
Itanium has lost vendor support. You may want to start considering your hardware upgrade path. –  Thorbjørn Ravn Andersen Mar 5 '13 at 10:47
    
thank you for your update. I'll consider this point –  Ramesh Muthiah Mar 5 '13 at 11:36
add comment

3 Answers

up vote 4 down vote accepted

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.

share|improve this answer
    
I think he has stated that he tried both 32 and 64 bit. –  tmwanik Mar 5 '13 at 8:57
    
The way I read the question was, that he tried to install both, but (at least?) one threw an error. And the error message was from the 64-bit installer (You can find the image in the history.) –  nfechner Mar 5 '13 at 9:00
    
I have seen that. Thank you. –  tmwanik Mar 5 '13 at 9:04
add comment

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

share|improve this answer
    
Absolutely, you are right. could you please tell me the link for Itanium version of Java download ? –  Ramesh Muthiah Mar 5 '13 at 9:39
add comment

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

share|improve this answer
    
There is a corner case, where you need to install both: If you are on a x64 System and want to run both x86 Apps that use the plugin (e.g. Firefox) you need to have the x86 JRE too. –  nfechner Mar 5 '13 at 9:02
    
yes I agree, if its a 64-bit machine both 32-bit and 64-bit can be installed. –  codeMan Mar 5 '13 at 9:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.