JDBC problem - Mailing list pgsql-interfaces

From Weiming He
Subject JDBC problem
Date
Msg-id 3B2D5040.CEAB9D7F@cnri.reston.va.us
Whole thread Raw
List pgsql-interfaces
Hi,

I'm experiencing problems with the jdbc driver. First of all, what is
the correct syntax for running the compiled examples of Postgresql
7.1.2. I ran the followings earlier today, and I got the same error
messages

>java uk.org.retep.finder.Main

Exception in thread "main" java.lang.NoClassDefFoundError:
uk/org/retep/finder/Main

>java basic jdbc:postgresql:cnri_handle loginame passwd

Exception in thread "main" java.lang.NoClassDefFoundError:
jdbc:postgresql:cnri_handle

>java -Djdbc.drivers=org.postgresql.Driver uk.org.retep.finder.Main
Exception in thread "main" java.lang.NoClassDefFoundError:
uk/org/retep/finder/Main

can anyone help me out with this? Thanks in advance.





pgsql-interfaces by date:

Previous
From: "David Wall"
Date:
Subject: Re: [GENERAL] Vacuum analyze in 7.1.1
Next
From: "Paul Grenda"
Date:
Subject: jbuilder and postgres