As Windows 2012R2 no longer supports the SMB1 protocol without some registry hacks has any had any success working with SMB shares in Java where only SMB2.1 or SMB3 are supp
when use hierynomus/smbj v0.3.0, I get the exception like "ClassNotFoundException: sun.security.provider.MD4", then i use the follow code to resolve the problem.
SmbConfig cfg = SmbConfig.builder().
withMultiProtocolNegotiate(true).
withSecurityProvider(new JceSecurityProvider(new BouncyCastleProvider())).
build();
SMBClient client = new SMBClient(cfg);