java not a dynamic executable

situation where your JAVA_HOME is set and java is in patch but still you were not able to use java cmd..


$ ldd /patch/to/java
not a dynamic executable .. ( this output means its missing some library )

sudo apt-get install ia32-libs

this would install the required library.

after instaling ia32-libs you can do an ldd now it should show a different output.

$ ldd /patch/to/java

linux-gate.so.1 => (0xf7f65000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7f3d000)
libjli.so =/homes//java/jdk1.6.0_11-32/bin/../jre/lib/i386/jli/libjli.so (0xf7f33000)
libdl.so.2 => /lib32/libdl.so.2 (0xf7f2f000)
libc.so.6 => /lib32/libc.so.6 (0xf7dcc000)
/lib/ld-linux.so.2 (0xf7f66000)

THIS SHOULD SOLVE THE PROBLEM !!!

-G

Comments

Popular posts from this blog

How to find the source branch of a branch in git

gpg: cancelled by user

yarn nodemanager doesn't start - Caused by: EPERM: Operation not permitted