Closed jenschurchill closed 6 years ago
Note, cloning the repo, and running MemoryFsTest results in the same error, I've now also tried updating winfsp to 1.4.18211 to no effect.
Solved, the JRE was 32bit, and the dll detected, was 64bit.
Fixed by extending extractRegLibraryPath in WinPathUtils to account for os.arch
String fileName = "winfsp-x64.dll";
String osArch = System.getProperty("os.arch");
if (osArch.equalsIgnoreCase("x86")) {
fileName = "winfsp-x86.dll";
}
return libraryPath + "bin\\" + fileName;
Tried 0.5.2 and 0.5.2.1 with and without all classifier
Path is correctly detected to "C:\Program Files (x86)\WinFsp\bin\winfsp-x64.dll"
LibraryLoader.java fails at 325
with exception
Note, examples in winfsp itself, run fine.