I'm building a spring boot app which reads file out of a file share. I was told the file share is a NFS share. Can i use the jcifs library or any smb library to read files from a NFS share? Or do i need some NFS specific java library to read files?
See some answers here: Access to NFS-Share from Java-Application.
So, you still can use Spring Integration SMB extension with its JCIFS foundation and read from that NFS service via CIFS protocol.
Otherwise you are on your own to implement something using some NFS-specific library.