試してみてください:
String driver = "net.sourceforge.jtds.jdbc.Driver"; Class.forName(driver).newInstance(); String connString = "jdbc:jtds:sqlserver://<ip>:1433/<databasename>;encrypt=false;user=<username>;password=<password>;instance=SQLEXPRESS;"; con = DriverManager.getConnection(connString);
プレ>