aspose file tools*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Setting classpath for sql server" Watch "Setting classpath for sql server" New topic
Author

Setting classpath for sql server

David Mathew
Greenhorn

Joined: Oct 25, 2003
Posts: 10
hi..
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
Greenhorn

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