I'm having a few problems with running a Perl script. Every time I try to run it (its from a runescape launcher client), it give me the following message in terminal: Permission Denied
How can i fix this?
There are two possibilities.
Normally the first line of the script should be:
If it is, and if the script itself is executable, then try this:
or, if your default shell is csh or tcsh:
If that prints
Another thought: Does the message result from executing the script itself, or from something it does?
Do you see the error when you execute the script from a command line? If so, if you add
near the top of the script does "Hello" appear before the "Permission denied" message? If so, then the problem is somewhere in the script (about which we have no information). You should be able to narrow it down yourself.
|show 2 more comments|
I figured out what it was. It had to do with my Java installation.