Apache Tomcat not working

I installed tomcat10, and the command catalina version is not recognized from the terminal, as it should be. I’m asking for help to set this up, because I really don’t understand what is happening…

Here’s a picture from pamac GUI showing that it is installed (couldn’t check from terminal):


Perhaps you need to start the service?


I thought it would work :frowning:


I found a solution. The script, which should be executable from the terminal can only be executed from its folder. I wrote a shell script, which calls the catalina.sh. The script needs to be added to $PATH and that’s it.

For me the catalina.sh was in /usr/share/tomcat10/bin.

The script:



$DIRECTORY/catalina.sh "$@"

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.