Originally posted by lance88:
<STRONG>I install jboss and tomcat in X.
But it can't run startup.sh file.
just reply 'command not found'
how to run .sh file?
thank you.</STRONG>
To run any script it needs to be a)executable and b) in your $PATH
Chances are the script is executable, but you can ensure that by running:
chmod u+x startup.sh
Path problems are far more common, especially when running as root (or using sudo). Try specifying the full pathname or use ./startup.sh to execute the script if you're already in the directory (./ means execute from the current directory)