aspose file tools*
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: 18882
    
    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: 18882
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.ioexception: error= 13, permission denied