From: | Corey Mosher <corey(at)pgsql(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | RE: JDBC Errors |
Date: | 2001-03-14 19:45:09 |
Message-ID: | Pine.BSF.4.21.0103141544310.2051-100000@rage.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Thanks Charlie,
I don't seem to have this file anywhere on my filesystem, but that
could be it. Does anyone know if this file is needed?
Corey
On Wed, 14 Mar 2001, Charlie Derr wrote:
> That looks right.
>
> The only other thing i can add is that i found a file named jdbc7.0-1.2.jar
> in /usr/lib/pgsql (yours may be somewhere else). This is the one I added to
> my CLASSPATH.
>
> ~c
>
> |-----Original Message-----
> |From: Corey Mosher [mailto:corey(at)pgsql(dot)com]
> |Sent: Wednesday, March 14, 2001 1:20 PM
> |To: Charlie Derr
> |Cc: Corey Mosher; pgsql-jdbc(at)postgresql(dot)org
> |Subject: RE: [JDBC] JDBC Errors
> |
> |
> |The jar file is located in:
> |/usr/local/java_pkgs/jdk1.2.2/jre/lib/ext/
> |
> |My classpath is set to:
> |export CLASSPATH=/usr/local/java_pkgs/jdk1.2.2/jre/lib/ext/postgresql.jar:.
> |
> |Is there any errors there?
> |
> |Corey
> |
> |On Wed, 14 Mar 2001, Charlie Derr wrote:
> |
> |> |
> |> | Hi folks,
> |> | Just wondering if I am reading the error correctly.
> |> |
> |> |Hub>>java sample
> |> |Exception caught.
> |> |java.lang.ClassNotFoundException: org.postgresql.Driver
> |> |java.lang.ClassNotFoundException: org.postgresql.Driver
> |> | at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> |> | at java.security.AccessController.doPrivileged(Native Method)
> |> | at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
> |> | at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
> |> | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:282)
> |> | at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> |> | at java.lang.Class.forName0(Native Method)
> |> | at java.lang.Class.forName(Class.java:124)
> |> | at sample.<init>(sample.java:10)
> |> | at sample.main(sample.java:38)
> |> |
> |> |I am assumung that this means the it isn't finding org.postgresql.Driver
> |> |in the postgresql.jar file.
> |> |
> |> |Am I wrong?
> |>
> |> No, I think you're right. My guess is that it isn't finding the
> |jar file.
> |> Add the path to your jarfile to your CLASSPATH environment
> |variable, and try
> |> again.
> |>
> |> good luck,
> |> ~c
> |>
> |> |
> |> |Corey Mosher
> |> |
> |> |
> |> |
> |> |
> |> |---------------------------(end of broadcast)---------------------------
> |> |TIP 6: Have you searched our list archives?
> |> |
> |> |http://www.postgresql.org/search.mpl
> |>
> |>
> |
> |Corey Mosher
> |
> |-----------------------------
> |Hub.Org Networking Services
> |251 Main St.
> |Wolfville, NS
> |Canada
> |B0P 1X0
> |Email: corey(at)hub(dot)org
> |Phone: (902) 542-3657
> |-----------------------------
> |PostgreSQL, Inc.
> |251 Main St.
> |Wolfville, NS
> |Canada
> |B0P 1X0
> |Email: corey(at)pgsql(dot)com
> |Phone: (902) 542-0713
> |-----------------------------
> |Fax: (902) 542-5386
> |
>
>
Corey Mosher
-----------------------------
Hub.Org Networking Services
251 Main St.
Wolfville, NS
Canada
B0P 1X0
Email: corey(at)hub(dot)org
Phone: (902) 542-3657
-----------------------------
PostgreSQL, Inc.
251 Main St.
Wolfville, NS
Canada
B0P 1X0
Email: corey(at)pgsql(dot)com
Phone: (902) 542-0713
-----------------------------
Fax: (902) 542-5386
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-03-14 22:03:11 | Re: JDBC build patches |
Previous Message | Dav Coleman | 2001-03-14 19:35:59 | PreparedStatement with LIKE |