Ubuntu – exec: 2508: /tmp/install.dir.30906/Linux/resource/jre/bin/java: not found

javasoftware installation

After running:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

I try to setup a software sybase sudo ./setup.bin but I get the following problem:

exec: 2508: /tmp/install.dir.30906/Linux/resource/jre/bin/java: not found

Best Answer

This error occurs because the installer is itself a 32-bit binary using 32-bit binaries, which may cause problems on a 64-bit machine. It needs 32-bit libraries installed.

On an Ubuntu 64-bit Linux machine, to work around this issue, install the package "ia32-libs":

sudo apt-get install ia32-libs