EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

Can't get JDBC to compile. Please help.  XML

Forum Index » ApachePHP and application Installers
Author Message
Kazi_S

New member

Joined: 12 Apr 2009 15:17:07
Messages: 1
Offline

I'm a beginner. I installed PostGRESQL 8.3 with edb_pgjdbc.exe (604) on Windows XP SP2.

The following test code won't compile:


NetBeans says:


I've tried adding "E:\Program Files\PostgreSQL\pgJDBC" to the CLASSPATH. Any suggestions?
ashaar

Member
[Avatar]

Joined: 28 Mar 2008 08:00:06
Messages: 88
Location: East Brunswick, NJ
Offline

Seems like a run time exception.

Please ensure that the class path is setup properly when the application is executed.

Thanks
[WWW]
scottiebo

Senior member
[Avatar]

Joined: 23 Oct 2005 21:05:02
Messages: 197
Offline

Yeah, make sure that the jar file: (http://jdbc.postgresql.org/download/postgresql-8.4-701.jdbc3.jar) file is in your classpath.




--Scottie
 
Forum Index » ApachePHP and application Installers
Go to:   
Powered by JForum 2.1.8 © JForum Team