Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting classpath for sql server

 
David Mathew
Greenhorn
Posts: 10
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wake up friends...i need ur help.
 
Anurag Gupta
Ranch Hand
Posts: 40
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic