Java Word: open/save word documents from/to unix file system

My code works fine in Windows. When deployed to a UNIX system, open and save stopped working. Only difference here is the directory name:
windows: D:\temp
unix: /usr/temp
Is it possible to open/save a word doc from/to UNIX file system? And how?
Thanks

Hi

Thanks for your inquiry. Sure, it is possible. Here is simple code, which works fine on my side:

Document doc = new Document("/usr/alexey/in.doc");
doc.save("/usr/alexey/out.doc");

Please make sure that you have read/write permissions. Also, could you please provide me your code and more details about the problem? I will check the issue and provide you more information.
Best regards.