Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting classpath for sql server

 
David Mathew
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wake up friends...i need ur help.
 
Anurag Gupta
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic