Re: .jar file gives error

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: .jar file gives error
Дата
Msg-id 012701cdc274$116c5680$34450380$@yahoo.com
обсуждение исходный текст
Ответ на .jar file gives error  (Rob Richardson <RDRichardson@rad-con.com>)
Список pgsql-jdbc

The JDBC JAR is not something you can run standalone.  You have to make sure the JAR is available in the classpath when you are running another application that needs to use the PostgreSQL JDBC Implementation.

 

I don’t have the correct syntax or answer for you at the moment but you should be able to find something via Google search pretty readily.

 

David J.

 

From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Rob Richardson
Sent: Wednesday, November 14, 2012 9:16 AM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] .jar file gives error

 

Greetings!

 

This is probably a simple question because I have never before tried to run a .jar file.

 

I just downloaded the latest PostgreSQL JDBC installation file.  When I tried to run it using the “java –jar” command, I got the following error:

 

Failed to load Main-Class manifest attribute from

postgresql-9.2-1002.jdbc4.jar

 

What do I need to do to fix this?

 

Thank you very much.

 

RobR

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

Предыдущее
От: andreak@officenet.no
Дата:
Сообщение: Re: .jar file gives error
Следующее
От: dmp
Дата:
Сообщение: Re: Packaging of 9.2-1001 source tarball