This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes java.io.ioexception: error= 13, permission denied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "java.io.ioexception: error= 13, permission denied" Watch "java.io.ioexception: error= 13, permission denied" New topic
Author

java.io.ioexception: error= 13, permission denied

harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
I am getting error while opening an java application using bash script.....
cannot run program "../server" java.io.IOException: error=13, permission denied
how to solve this exception?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Change the permissions on that program so that you can run it.
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
I have already given all permissions to both shell script n jar file.... still not working
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

And is "../server" the shell script or the jar file?
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
server is an executable file and I gave permission to 'server file', and now it is working fine ... Thanks
 
jQuery in Action, 2nd edition
 
subject: java.io.ioexception: error= 13, permission denied