Lists: | pgsql-jdbc |
---|
From: | Zoltan Bartko <bartkozo(at)centrum(dot)sk> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | jdk1.5, pgsql8 on WinXP: classpath problems |
Date: | 2004-11-22 08:22:36 |
Message-ID: | opshuxjyzgrtqpbg@ucitel |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-jdbc |
Hello folks,
please be patient with me or point me to the correct forum.
I have jdk1.5 and pgsql8 on WinXP (SK). I have a working pgsql8 beta4
server along with the JDBC driver (I know it works, OpenOffice gets me
through).
My only problem is that even a trivial Hello World app stops saying
org.postgresql.Driver not found (in particular even a program called jdbc
tester (jdbctester.sourceforge.net) comes up everytime with this error,
even with CLASSPATH set as described at jdbc.postgresql.org)
I even copied the jdbc driver to c:\jdk1.5.0\jre\lib, but there it gets
lost, too. I tried also renaming the driver, no luck.
What am I doing wrong? I tried to search the list archives, I have not
found anything that would have helped.
Thanks in advance
Zoltan
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
-=x=-
Skontrolované antivírovým programom NOD32
From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Zoltan Bartko <bartkozo(at)centrum(dot)sk> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: jdk1.5, pgsql8 on WinXP: classpath problems |
Date: | 2004-11-22 08:36:32 |
Message-ID: | Pine.BSO.4.56.0411220329090.240@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-jdbc |
On Mon, 22 Nov 2004, Zoltan Bartko wrote:
> My only problem is that even a trivial Hello World app stops saying
> org.postgresql.Driver not found (in particular even a program called jdbc
> tester (jdbctester.sourceforge.net) comes up everytime with this error,
> even with CLASSPATH set as described at jdbc.postgresql.org)
The instructions for setting the CLASSPATH are for a bourne shell, not the
windows command shell. You want something like:
set CLASSPATH=C:\something\postgresql.jar;C:\other\myapp.jar
If this doesn't work, please include exactly what you've done.
Kris Jurka