Java SDK 1.4.0 Error can't find libjvm.so
843804Nov 6 2001 — edited Oct 14 2002Installed Java SDK 1.4.0 to:
/usr/local/j2sdk1.4.0/
I get the following error when trying to run java or javac:
root:~#javac
Error: failed /usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so, because cannot open shared object file: cannot load shared object file: No such file or directory
That file is where it is looking for it.
I am using a Linux From Scratch installation that I built myself. Believe me everything else works fine =D
I have the following in /etc/profile and /root/.bash_profile
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/teTeX/bin:/usr/local/micq:/usr/local/j2sdk1.4.0/bin
JAVA_HOME=/usr/local/j2sdk1.4.0/
CLASSPATH=/usr/local/j2sdk1.4.0/jre/lib/rt.jar
LD_ASSUME_KERNEL=2.2.5
export PS1 TZ PATH JAVA_HOME CLASSPATH LD_ASSUME_KERNEL