Re: Unable to compile java file with all Classpaths set

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Unable to compile java file with all Classpaths set
Дата
Msg-id 467C28BD.20404@enterprisedb.com
обсуждение исходный текст
Ответ на Unable to compile java file with all Classpaths set  ("Kareem Habib" <kareem.habib@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Kareem Habib"
Дата:
Сообщение: Unable to compile java file with all Classpaths set
Следующее
От: Jeff Hubbach
Дата:
Сообщение: Re: Unable to compile java file with all Classpaths set