This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Type 4 Driver from Microsoft Not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Type 4 Driver from Microsoft Not working" Watch "Type 4 Driver from Microsoft Not working" New topic
Author

Type 4 Driver from Microsoft Not working

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
I have Type 4 driver from Miocrosoft.
I have installed and set the classpath.
Still when i try to register it, I get error:
ClassNotFound
Any specific reason?
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

classpath was not set right, or it isn't working the way you think it should.
If you have the driver saved to "C:/temp/myDriver.jar" then your classpath should include "C:/temp/myDriver.jar;" in it. If you have this, double check the spelling of the directory and driver name in the classpath.
If you haven't already done so, download and follow what the documentation says to do.
Jamie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Type 4 Driver from Microsoft Not working