Hello all,
I installed the latest version of a program called Squirrel SQL Client and I am working on a Java program written in version 1.6.0.2. I am working remotely on a Windows XP SP2 client trying to access a remote database. The Squirrel Client can connect to the remote database and I can querry it with no problems. I am not able to do so with java.
My sample code is the following:
Class.forName("net.sourcef
orge.jtds.
jdbc.Drive
r");
conn = DriverManager.getConnectio
n
("jdbc:jtds:sqlserver://re
s.deeds.ut
oronto.ca:
1633", "user48","u48d2007b");
st = conn.createStatement();
I use the following command to run my code
java -cp ..\classes InputUtility48 CustomerList48
I get the error message:
"ClassNotFoundException" : net.sourceforge.jtds.jdbc.
Driver
Any help is appreciated,
Regards,
Paolo
Start Free Trial