I have some doubts about the way to read file from a remote (inside our network) location with java. I'm developing a simple java application from a windows machine and I'm able to reach a remote file that resides on a unix machine in this way:
File fileToRead=new File(new URI(file:////192.168.0.27/export/myFile.txt))
With the same application my collegue that is using kubuntu to develop is not able to reach the file. I get FileNotFoundException.
What can be the problem?
UPDATE 1 I would want to use jcfis to solve my problem, but in this cas the application will work both on windows than on linux?