Using Jackcess with JCIFS to manipulate an Access database on an SMB share
问题 I need to work with an MS Access file in Java using Jackcess. The file is located on an SMB share so I assume I would have to use JCIFS. I tried this String testdirectory = "smb://" + "file location"; SmbFile testsmbdir = null; try{ testsmbdir = new SmbFile(testdirectory,auth); }catch(Exception e){ e.printStackTrace(); } SmbFileInputStream smbFilestream = new SmbFileInputStream(testsmbdir); db = DatabaseBuilder.open(testsmbdir); However, it says SMBFile can not be converted to File for the db