I am trying to run the following bit of code:
import java.sql.DriverManager; public class Connect { public static void main(String[] args){ try{
I am getting the same error even after successfully placing ntmauth.dll file in JRE/bin.
Then I tried by putting ntmauth.dll in the C:\Windows\System32 directory. By doing so the issue got fixed.
ntmauth.dll
C:\Windows\System32