Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Storing Configuration Files  RSS feed

Supriya khare
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In our Java Struts application we have couple of configuration files where we store some values. We have these files in user directory. Our application runs on windows/linux and Mac. We are having problem writing to these files on windows7 and can only write in them if we use 'run as adminstrator' and on linux same way we have to execute our application as SUDO. Is there any Java api which we can use to place/read/write these files in platform independent way?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!