• Post Reply Bookmark Topic Watch Topic
  • New Topic

opening folder in through java program  RSS feed

 
Shubhamgreat Goyal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
want to open a directory from java program in ubuntu
When i use exec(path) it says access denied.
 
Anuj Sharma R
Greenhorn
Posts: 28
1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are running program as which user? Does that user has rights to that folder on your Ubuntu box? Did you check the permissions for that directory?
 
Anindya Roy
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simply do

 
Campbell Ritchie
Marshal
Posts: 56592
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!