javac command doesn't work

i have installed jdk1.5.0_04 in /usr/java/ in Linux OS,and set the environment variable in /etc/profile.

But when i compile java file, #javac, it output error msg:

"

libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java and /usr/bin/javac

master links required by jpackage.org conventions. libgcj's

rmiregistry, rmic and jar tools are now slave symlinks to these

masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools

installed by previous versions of libgcj conflicted with symlinks

installed by jpackage.org JVM packages.

"

Everything seems right as following:

When i #echo $PATH, it reads

/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/java/jdk1.5.0_04/bin:/root/bin

#java -version

java version "1.5.0_04"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)

Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

#java, it reads the list of the usage

yet i can not run the javac command, what's wrong with that, i am so confused. any help would be appreciated, thank you!

[1301 byte] By [leanna] at [2007-10-2 6:04:41]
# 1
Take a look at this reply on a different thread: http://forum.java.sun.com/thread.jspa?threadID=685889
timbella at 2007-7-16 13:05:10 > top of Java-index,Desktop,Deploying...