pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
jdk1.5, pgsql8 on WinXP: classpath problems
2+ messages / 2 participants
[nested] [flat]

* jdk1.5, pgsql8 on WinXP: classpath problems
@ 2004-11-22 08:22 Zoltan Bartko <bartkozo@centrum.sk>
  2004-11-22 08:36 ` Re: jdk1.5, pgsql8 on WinXP: classpath problems Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Zoltan Bartko @ 2004-11-22 08:22 UTC (permalink / raw)
  To: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: jdk1.5, pgsql8 on WinXP: classpath problems
  2004-11-22 08:22 jdk1.5, pgsql8 on WinXP: classpath problems Zoltan Bartko <bartkozo@centrum.sk>
@ 2004-11-22 08:36 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2004-11-22 08:36 UTC (permalink / raw)
  To: Zoltan Bartko <bartkozo@centrum.sk>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-11-22 08:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-11-22 08:22 jdk1.5, pgsql8 on WinXP: classpath problems Zoltan Bartko <bartkozo@centrum.sk>
2004-11-22 08:36 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox