Thank you for answering my question
I have moved postgresql.jar to common/lib.
Also, my setting are:
tcpip_socket = true
in /var/lib/pgsql/data/postgresql.conf
host all all 127.0.0.1 255.255.255.255 crypt
in /var/lib/pgsql/data/pg_hba.conf
but, it also cannot work well.
By the way, do I need to set
./configure with-java
if yes, how can I set it?