New to linux.
I just installed j2sdk in Linux redhat 7.2. I installed the files in /usr/java/j2sdk1.4.0

The above directory contains
jre , lib , inlcude etc.

I use .bash_profile to set my PATH and here are some entries


JAVA_HOME=/usr/java/j2sdk1.4.0
PATH=$PATH:$HOME/bin:$JAVA_HOME:$JAVA_HOME/jre/lib/i386:.
CLASS_PATH==/usr/java/j2sdk1.4.0/lib/i386
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CLASSPATH
BASH_ENV=$HOME/.bashrc
USERNAME:root

I am getting these errorS from javac

Error : could not find libjava.so
Error : could not find Java 2 Runtime Environment

How should I configure to make javac work.

Thanks