• Post Reply Bookmark Topic Watch Topic
  • New Topic

file edit  RSS feed

 
sreejith panampilly
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i edit the contents of a file if the file is using another person
when i try to edit the file i get the following message

java.io.FileNotFoundException: E:\aby\jboss-3.2.3\bin\error.txt (The process cannot access the file because it is being used by another process)
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the file is locked by another process, then there is no way you can edit it. Stop the process that keeps the file locked, or at least make sure that it doesn't keep the file locked.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!