0

i keep on getting the following error when ever i try to run my code to check connection between java code and db.

    java.sql.SQLException: No suitable driver found for jdbc:sqlserver://192.168.1.100
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at StoredProcedure.main(StoredProcedure.java:19)
Anand S Kumar
  • 88,551
  • 18
  • 188
  • 176

2 Answers2

0

There's not really enough information here to help you. Check out this question for a good example on how to pose your question, and possibly find an answer.

Community
  • 1
  • 1
Kieran
  • 343
  • 2
  • 10
0

Its' showing No suitable driver found. Check your jdk compatible driver version with sql server.

Check system requirements here

Both jdk 7 and jdk 8 compatible jar file

SatyaTNV
  • 4,137
  • 3
  • 15
  • 31