i checked the folders and it seems like i do have prior installation of ant which is done by the privious user of my computer(office computer which i am undergoing a traning).
[EMAIL PROTECTED] tharanga]$ echo $PATH
.::/usr/local/IntelliJ-IDEA-4.5/bin:/usr/local/ant/bin:/usr/local/j2sdk1.4.2 _06/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/tharanga/bin:/home /tharanga/bin:/usr/java/jdk1.5.0_01/bin:/home/dayan/software/ant162/bin
as this says i have 2 jdk instalations as well. but the strange thing is that /usr/local/ant file is empty. i haveset my paths in bash_profile as follows.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
CATALINA_HOME=/home/dayan/software/tomcat4127
JAVA_HOME=/usr/java/jdk1.5.0_01
ANT_HOME=/home/dayan/software/ant162
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$ANT_HOME/bin
CLASSPATH=$JAVA_HOME/lib:$CATALINA_HOME/common/lib
export PATH JAVA_HOME CATALINA_HOME ANT_HOME CLASSPATH
unset USERNAME
as it says $Path variable includes somthings that i do not want to have. by removing this part will i be ablr solve my problem. if i can how can i remove them.( where i can find those previosly set paths.
thank u tharanga([EMAIL PROTECTED])
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]