IronSheikh wrote:
> I'm a beginner. I installed PostGRESQL 8.3 with edb_pgjdbc.exe on Windows XP
> SP2.
>
> The following test code won't compile:
> NetBeans says:
> ***Exception:
> java.lang.ClassNotFoundException: org.postgresql.Driver
> I've tried adding "E:\Program Files\PostgreSQL\pgJDBC" to the CLASSPATH. Any
> suggestions?
The error message is pretty clear - it can't find the driver. You don't
add the entire directory to your classpath - just the JAR file
containing the JDBC driver.
--
Guy Rouillier