I am trying to setup up my enviroment variable in my Ubuntu machine. Now i did some research and tryed the method on this question Set environment variable in Ubuntu
Similar question but the thing is I already wrote up the "etc/enviroment" the "etc/profile" and the "etc/bash.bashrc" file to include my variables:
JAVA_HOME=/home/glv/information/jdk1.6.0_25/ export JAVA_HOME BASEDIR=/home/glv/apache-tomcat-6.0.29/ export BASEDIR
However the problem is when i run the startup.sh on apache it still says that the BASEDIR enviroment variable is not setup right and for all I know the JAVA_HOME may not be correct as well. I am using the latest Ubuntu not sure if that a problem or not or if i have to go another way around it. Any help would be appreciated.