I recently struggled with the installation of JEE on my 64bit version of Ubuntu 9.04 (Jaunty). I wanted to install the version without the JDK, but with Glassfish.

The download of java_ee_sdk-5_07-linux-nojdk.bin went as smoothly as expected, but then the trouble began…

I made the file executable with bash chmod 755 java_ee_sdk-5_07-linux-nojdk.bin

and tried to execute it. Unfortunately I got an File not found error, which I wasn’t able to interpret. After a while I simply looked into the file figuring out that it want to read /lib/ld-linux.so.2 which wasn’t available on my system. Courageously creating a symlink didn’t help either, but pointed me to the right direction.

Not the file was there, but it was the wrong architecture. OK, makes sense, I run a 64bit system and this one was probably created on a 32bit one. The default installation of Ubuntu 9.04 Jaunty misses the ia32-libs.

Installing the 32bit compatibility sorted the problem out and everything went flawlessly. (I have to admit that it took quite a while to figure that out, but eventually I made it.)