Removing file locks in Windows and Java

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-03-25T17:02:09Z Indexed on 2010/03/25 17:03 UTC
Read the original article Hit count: 329

Filed under:
|
|

I have a Java program that opens a file using the RandomAccessFile class.

I'd like to be able to rename that file while it is opened by Java. In Unix, this isn't a problem. Does anyone know how I can do this in Windows?

Should I set Java to open it a certain way?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about java