I am trying to create a file on the filesystem, but I keep getting this exception:
java.io.IOException: No such file or directory
I have an
i fixed my problem by this code on linux file system
if (!file.exists()) Files.createFile(file.toPath());