Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java SDK 1.4.0 Error can't find libjvm.so

843804Nov 6 2001 — edited Oct 14 2002
Installed 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2002
Added on Nov 6 2001
8 comments
935 views