Rajesh Kumar wrote:
Dear Friends

                I have installed jdk1.5 version in my centOS and i set path
in /etc/profile

export JAVA_HOME=/usr/jdk1.5.0_11
export JAVA_PATH=/usr/jdk1.5.0_11/bin

but when i chenked the java version using # java -version. It's showing java
version "1.4.2". How can solve this problem because i unable to install the
squirrel sql.

Make sure that the JAVA_PATH is the first entry for PATH. You are now probably using the GCJ java from /usr/bin.

Use something like:
export PATH=$JAVA_PATH:$PATH
or
export PATH=$JAVA_HOME/bin:$PATH

Regards,
Senthil
_______________________________________________
To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to