So to start with I downloaded J2EE 5.0 self extracting bin file java_ee_sdk-5_01-linux.bin and started the installation after changing the file permissions (chmod a+x java_ee_sdk-5_01-linux.bin)
As soon as the installer started, it ended with an pinching error message...
./java_ee_sdk-5_01-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
My immediate thought was required shared library libstdc++.so.5 is missing with Ubuntu 8.10 release. So tried to get it using...
sudo apt-get install libstdc++5
This failed, saying no such package. Probably default packages does not list this. Then I started looking in /usr/lib and found libstdc++.so.6.0.10. Having found this I just made a soft link to libstdc++.so.5 to point to existing version 6.0.10.
ln -s /usr/lib/libstdc++.so.6.0.10 /usr/lib/libstdc++.so.5
Started again installation and everything went on fine and I was a happy man when I saw the output of...