When you run the program (Mac OS X) in IntellijIDEA, the compiler gives the error: (Access is denied)
PS In the terminal, it also does not work to launch files with the .sh extension
Error running Tomcat 8.5.111: Cannot run program
"/ Users / hudger / java files / apache-tomcat- 8.5.11 / bin / catalina.sh" (in directory "/ Users / hudger / java files /apache-tomcat-8.5.11/bin"): error = 13 Permission denied
.shfile (in my case -catalina.shwhich was in thebinfolder). To do this, just go to the directory where the extension’s.shfile is located and write the following command:chmod +x ./catalina.sh- Ekaterina