Skip to Content.
Sympa Menu

freetds - [freetds] freetds to connect from java(linux) to MSSQL(win)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Voicu Liviu <pacman AT huji.ac.il>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] freetds to connect from java(linux) to MSSQL(win)
  • Date: Mon, 10 Feb 2003 13:51:56 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, please could you help me with this annoying problem?

I installed freetds-0.60 using:
- --with-tdsver=7.0 --with-unixodbc --enable-msdblib --enable-threadsafe
- --with-ssl

Now how do I configure my unixODBC to be able to connect to MSSQL from my
linux box using java applications?

( this is the sample from http://www.freetds.org/faq.html )

liviu@starshooter liviu $ java ftdsClass
java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at ftdsClass.main(ftdsClass.java:24)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+R5JcMcVU5N/V6I8RAgR7AKCNekuxarBxXJCf+Vd+bb+CyV+LuwCffGOF
u2mCqAPdk3iJ7mS/mYbHG20=
=Znm6
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page