wood burning stoves*
The moose likes JDBC and the fly likes Setting classpath for sql server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Setting classpath for sql server" Watch "Setting classpath for sql server" New topic

Setting classpath for sql server

David Mathew

Joined: Oct 25, 2003
Posts: 10
i am using JSQLConnect driver for cnnecting to sql server datasource.
i am getting error of classNotFound when i run my application.plz let me know where should i set classpath and which driver class or anyother class i have to copy and in which directory.
plz reply soon
David Mathew

Joined: Oct 25, 2003
Posts: 10
wake up friends...i need ur help.
Anurag Gupta
Ranch Hand

Joined: Dec 13, 2001
Posts: 40
You would require JSQLConnect.jar to be present in your Classpath.
Alternatively, copy this file JSQLConnect.zip in the folder JAVA_HOME/jre/lib/ext/
The ClassName is com.jnetdirect.jsql.JSQLDataSource.

Anurag Gupta
I agree. Here's the link: http://aspose.com/file-tools
subject: Setting classpath for sql server
Similar Threads
driver for SQL server 7.0 and weblogic 7.0
classpath - differences between java command line argument and environment variable
JSP SQL server database connectivity
no sqljdbc_auth in java.library.path