JRE Installed Extensions [message #87289] |
Wed, 20 August 2003 14:38 |
Eclipse User |
|
|
|
Originally posted by: wilco909.hotmail.com
Sorry, this is more of a JRE question than an Eclipse question:
I want to access a SQL Server database from Java. I downloaded the
official JDBC drivers. The JAR files installed under "C:\Program
Files\...". I copied the JAR's to "C:\Java\j2sdk1.4.2\jre\lib\ext" so
that these are "installed extensions".
The code still throws a ClassNotFoundException when executing:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver ");
I've tried executing from Eclipse and from the command line.
If I run from Eclipse and explicitly add the JARs to the classpath,
everything works. Why can't I get installed extensions to work correctly?
|
|
|
Powered by
FUDForum. Page generated in 0.29417 seconds