Sunday, March 21, 2010

Java Install Failing With install.sfx Error? You're Probably On the Wrong Architecture

I'm getting a RackSpace Cloud server set up for a side project, and when trying to install Java on Ubuntu Server and I was getting the following error:

./install.sfx.3763: not found

Since I'm not the one who ordered the cloud server I wasn't sure if it was 32- or 64-bit, but given the modest amount of RAM we're allocating I was guessing it was 32-bit.

Turns out I was wrong. I decided to try the 64-bit Java installer and it worked fine.

So if you get the mysterious install.sfx error when installing Java you're probably using the installer for the wrong architecture. Grab the "other" installer for your situation and it'll likely solve the problem.

I guess you could also ask the person who ordered the server whether it's 32- or 64-bit, but where's the adventure in that?

4 comments:

arwilliamson said...

All cloud servers in Rackspace is 64bit. The amount of RAM you order effectively determines how much of the timeslice you are allowed. The $10 per month servers they have are not worth the hassle.

Matthew Woodward said...

Thanks for the info Alan. This is my first experience with Rackspace's cloud so we'll see how it goes!

Peter J. Farrell said...

For those on not on RackSpace Cloud, you can type "uname -a" (without the quotes) in a terminal. The last part of the string shows what type of system you have:[code type="text"]Linux minime 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux[/code]The i686 part means 32-bit (it could be i386 as well). If it says x86_64 or ia64, then it is 64-bit.

Matthew Woodward said...

Yep, very interesting you bring that up--uname -a doesn't work on the Rackspace Cloud for some reason. Returns blank. :-)