pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedSome Questions about JDBC
2+ messages / 2 participants
[nested] [flat]
* Some Questions about JDBC
@ 2005-03-02 09:34 tombcy@sohu.com
2005-03-02 17:55 ` Re: Some Questions about JDBC Jan de Visser <jdevisser@digitalfairway.com>
0 siblings, 1 reply; 2+ messages in thread
From: tombcy@sohu.com @ 2005-03-02 09:34 UTC (permalink / raw)
To: pgsql-jdbc
hello
i am a beginer in Java.
i want to use your software PostgreSQL to study DateBase.
Now,i hava some mistakes following … when i use "Class.forName( "org.postgresql.Drvier" );" then
D:\temp\ch18\fig18_24>java TableDisplay
Failed to load JDBC/ODBC driver.
java.lang.ClassNotFoundException: org.postgresql.Drvier
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at TableDisplay.<init>(TableDisplay.java:25)
at TableDisplay.main(TableDisplay.java:144)
how can i do ?
write ".;C:\Program Files\PostgreSQL\8.0\jdbc" in the classpath ?
Or where should i put the "postgresql-8.0.309.jdbc3.jar" ?
In the "D:\Java\Java\jdk1.5.0_01\jre\lib\ext" ? or other ways ?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Some Questions about JDBC
2005-03-02 09:34 Some Questions about JDBC tombcy@sohu.com
@ 2005-03-02 17:55 ` Jan de Visser <jdevisser@digitalfairway.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jan de Visser @ 2005-03-02 17:55 UTC (permalink / raw)
To: pgsql-jdbc
On March 2, 2005 04:34 am, tombcy@sohu.com wrote:
> org.postgresql.Drvier"
Try org.postgresql.Driver
Jdv!!
--
--------------------------------------------------------------
Jan de Visser jdevisser@digitalfairway.com
Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-03-02 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 09:34 Some Questions about JDBC tombcy@sohu.com
2005-03-02 17:55 ` Jan de Visser <jdevisser@digitalfairway.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