Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDBC drivers for postgres+classpath for windows

843854May 30 2005 — edited Jun 1 2005
I've written an application for university last year, that connects to a postgres database. It worked perfectly on the Debian, but I'm trying to run it on Windows 2000 now.
I've downloaded the driver http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc3.jar but now what do I need to write in the "Class.forName(String name)" line , as I've put the jar in c:\ ?
Other question while I'm typing : my other java applications run correctly althought no classpath variable exists in the system. How can I set it easily and how can I add the postgres drivers to it ? ( I know how to under Linux, not windows )
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2005
Added on May 30 2005
2 comments
353 views