RE: HELP : Can't load JDBC driver !

From: Joe Shevland <J(dot)Shevland(at)eclipsegroup(dot)com(dot)au>
To: "'nusa'" <maheswara(at)freeuk(dot)com>, "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: HELP : Can't load JDBC driver !
Date: 2001-04-22 06:01:45
Message-ID: C56487636E5CD4119B1E00D0B789098AC96770@MEL-EXCH1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

The semi-colon is the cause I'd guess:

> 4. the JDBC driver is in the CLASSPATH :
> ...;/home/nusa/Java/PostgreSQL/jdbc7.0-1.2.jar

On Unix the path separator is a colon, as follows:

> 4. the JDBC driver is in the CLASSPATH :
...:/home/nusa/Java/PostgreSQL/jdbc7.0-1.2.jar

^

Regards,
Joe

> -----Original Message-----
> From: pgsql-jdbc-owner(at)postgresql(dot)org
> [mailto:pgsql-jdbc-owner(at)postgresql(dot)org]On Behalf Of nusa
> Sent: Saturday, 21 April 2001 9:47 AM
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] HELP : Can't load JDBC driver !
>
>
> Hi,
>
> Yes, I cant't load the JDBC driver !!!
> There must be a silly set-up somewhere, but I
> can't find it.
>
> Here some informations that might help you :
> 1. Mandake 7.2
> 2. the postmaster is run from init script as follow :
> su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -o '-i' -p
> /usr/bin/postmaster start > /dev/null 2>&1"
> 3. the very last line of my /var/lib/pgsql/data/pg_hba.conf :
> local all trust
> host all 127.0.0.1 255.255.255.255 trust
> 4. the JDBC driver is in the CLASSPATH :
> ...;/home/nusa/Java/PostgreSQL/jdbc7.0-1.2.jar
> 5. in my java file :
>
> import java.sql.*; // no import org.postgresql.* !
> ...
> try {
> Clss.forName("org.postgresql.Driver");
> }
> catch (ClassNotFoundException e) {}
> ...
>
> Can someone help me ?
>
> Thanks,
> nusa.
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Chris Czeyka 2001-04-22 08:28:31 Lost in unicode?
Previous Message Cori Rhodes 2001-04-21 18:42:19 Callable Statement Implementation Question