ok! got it! i also did the same for my postgresql installation and it worked perfectly. thanx! :) -Myk >> >$ ls -al /etc/profile.d/java.sh >> >-rwxr-xr-x 1 root root 192 21. Jul 03:20 >> >/etc/profile.d/java.sh >> > >> >$ cat /etc/profile.d/java.sh >> >JAVA_VERSION="j2re1.4.2_04" >> > >> >if [ -d /usr/java/${JAVA_VERSION} ]; then >> > export JAVA_HOME="/usr/java/${JAVA_VERSION}" >> > export JAVA_PATH="${JAVA_HOME}" >> > export PATH="$PATH:${JAVA_HOME}/bin" >> >fi >> > >> >So create that file executable and maybe adjust the >> >J2RE version number >> >if you have a different version installed. >> > >> >Alexander > >ah. so you mean execute this in bash: >> >> $ ls -al /etc/profile.d/java.sh >> $ cat /etc/profile.d/java.sh >> >> then add this to /etc/profile/ > >You left out the first line of the java.sh file! >--> JAVA_VERSION="j2re1.4.2_04" > >> if [ -d /usr/java/${JAVA_VERSION} ]; then >> export JAVA_HOME="/usr/java/${JAVA_VERSION}" >> export JAVA_PATH="${JAVA_HOME}" >> export PATH="$PATH:${JAVA_HOME}/bin" >> fi > >> -Myk > >No. > >vi /etc/profile.d/java.sh >---> then put in the content I showed you and save the new file >chmod 755 /etc/profile.d/java.sh >--> to make the file executive > >Alexander > > >-- >Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 >Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp Serendipity 05:41:20 up 1 day, 23:09, load average: 0.19, 0.21, 0.09 __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail