huu2011
March 19th, 2012, 09:16 AM
Hello all,
I have manually installed Tomcat6(/usr/local/tomcat)
,java6(/usr/local/java) with symbolink.
The I added CATALINA_HOME and JAVA_HOME to ~/.bashrc for non-root and root user.
but I think when I was adding as root, probably could have created the problem below.
root@test-apire-5738:/usr/local/tomcat# gedit ~/.bashrc
Command 'gedit' is available in '/usr/bin/gedit'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
gedit: command not found.
I need to make the variables permanent for all users(,me,root and tomcat).
Please any help how to solve above error appreciated.
I have manually installed Tomcat6(/usr/local/tomcat)
,java6(/usr/local/java) with symbolink.
The I added CATALINA_HOME and JAVA_HOME to ~/.bashrc for non-root and root user.
but I think when I was adding as root, probably could have created the problem below.
root@test-apire-5738:/usr/local/tomcat# gedit ~/.bashrc
Command 'gedit' is available in '/usr/bin/gedit'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
gedit: command not found.
I need to make the variables permanent for all users(,me,root and tomcat).
Please any help how to solve above error appreciated.