File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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 JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
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