There is my code.
jcifs.Config.setProperty("jcifs.smb.client.enableSMB2","true"); jcifs.Config.setProperty("jcifs.smb.client.