Blankman Blankman - 2 years ago 367
Java Question

IntelliJ says 'cannot run program '/path/to/tomcat/bin/' error=13 permission denied

In intelliJ ulimate, running a bare bone spring mvc application I get the error:

'cannot run program '/path/to/tomcat/bin/' error=13 permission denied

How to I fix this? (i'm on a mac)

Answer Source

In short, from a console:

chmod a+x /path/to/tomcat/bin/

This assumes that you 've elided the Tomcat path in your post, and checked that it really does exist on your system before posting here. Depending on the existing permissions of the file, you may need to issue the above command as a user with sufficiently elevated privileges.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download