Thread: postgresql driver for JDBC !

postgresql driver for JDBC !

From
Vikram Yadav
Date:
 hi i am mca student, trying to install postgresql driver in our linux
machine.
 but after installtion jdbc java file unable to load driver.
 i also have set the postgresql.jar in CLASSPATH(/etc/profile).
 also have set the 'tcpip_socket = true' in postgresql.conf.
thanks in regards,

           vikram yadav


Re: postgresql driver for JDBC !

From
"Nick Fankhauser"
Date:
Vikram-

Perhaps this FAQ will help you get started:

http://www.fankhausers.com/postgresql/jdbc

-Nick

> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Vikram Yadav
> Sent: Wednesday, September 10, 2003 2:01 AM
> To: pgsql-jdbc@postgresql.org
> Subject: [JDBC] postgresql driver for JDBC !
>
>
>
>  hi i am mca student, trying to install postgresql driver in our linux
> machine.
>  but after installtion jdbc java file unable to load driver.
>  i also have set the postgresql.jar in CLASSPATH(/etc/profile).
>  also have set the 'tcpip_socket = true' in postgresql.conf.
> thanks in regards,
>
>            vikram yadav
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>


Re: postgresql driver for JDBC !

From
Luke Vanderfluit
Date:
Hi,

If you just want to use pg in regular java classes, the classpath should
work,
if tomcat (for servlets) then you need to place the *postgres*.jar file
in /tomcat/common/lib/

What's your setup?

kind regards,
Luke

On Wed, 2003-09-10 at 16:30, Vikram Yadav wrote:
>  hi i am mca student, trying to install postgresql driver in our linux
> machine.
>  but after installtion jdbc java file unable to load driver.
>  i also have set the postgresql.jar in CLASSPATH(/etc/profile).
>  also have set the 'tcpip_socket = true' in postgresql.conf.
> thanks in regards,
>
>            vikram yadav
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
--
====================================
"when my computer smiles, I'm happy"
===============================.~ ~,
Luke Vanderfluit               |'/']
Mobile: 0421 276 282            \~/`