Re: BUG #6105: Failed to load Main-Class manifest attribute

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: BUG #6105: Failed to load Main-Class manifest attribute
Дата
Msg-id 4E1AA7B7.1080704@postnewspapers.com.au
обсуждение исходный текст
Ответ на BUG #6105: Failed to load Main-Class manifest attribute  ("Jon C." <camilleri.jon@gmail.com>)
Список pgsql-bugs
On 10/07/11 21:53, Jon C. wrote:

> java -jar postgresql-8.4-702.jdbc3.jar
> Failed to load Main-Class manifest attribute from
> postgresql-8.4-702.jdbc3.jar

What do you expect to happen? It's a JDBC driver, not a standalone
program. You can't run it with "java -jar". It goes on the classpath so
that Java programs can use it to connect to PostgreSQL.

How to add it to the classpath depends on the Java software you are
using. Check the manual for the software package you are attempting to
use. The PgJDBC manual gives generic instructions for Java programmers.

--
Craig Ringer

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #6106: JAR File has no source attachment
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #6106: JAR File has no source attachment