Re: Unable to compile java file with all Classpaths set - Mailing list pgsql-jdbc

From Heikki Linnakangas
Subject Re: Unable to compile java file with all Classpaths set
Date
Msg-id 467C28BD.20404@enterprisedb.com
Whole thread Raw
In response to Unable to compile java file with all Classpaths set  ("Kareem Habib" <kareem.habib@gmail.com>)
List pgsql-jdbc
Kareem Habib wrote:
> Every time I compile it I get the following output:
>
> C:\>javac maxi.java
> maxi.java:5: unreported exception java.lang.ClassNotFoundException; must be
> caug
> ht or declared to be thrown
>                Class.forName("org.postgresql.Driver");
> ...                            ^

Please read

http://java.sun.com/docs/books/tutorial/essential/exceptions/

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-jdbc by date:

Previous
From: "Kareem Habib"
Date:
Subject: Unable to compile java file with all Classpaths set
Next
From: Jeff Hubbach
Date:
Subject: Re: Unable to compile java file with all Classpaths set