pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Johnston <polobo@yahoo.com>
To: 'Rob Richardson' <RDRichardson@rad-con.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: .jar file gives error
Date: Wed, 14 Nov 2012 09:26:42 -0500
Message-ID: <012701cdc274$116c5680$34450380$@yahoo.com> (raw)
In-Reply-To: <67D108EDFAD3C148A593E6ED7DCB4BBD9489AD40@RADCONWIN2K8PDC.radcon.local>
References: <67D108EDFAD3C148A593E6ED7DCB4BBD9489AD40@RADCONWIN2K8PDC.radcon.local>

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

view thread (3+ messages)

Message-ID: <012701cdc274$116c5680$34450380$@yahoo.com>
Permalink:  ../012701cdc274$116c5680$34450380$@yahoo.com/
Also on:    postgresql.org/message-id/012701cdc274$116c5680$34450380$@yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: polobo@yahoo.com, RDRichardson@rad-con.com
  Subject: Re: .jar file gives error
  In-Reply-To: <012701cdc274$116c5680$34450380$@yahoo.com>
  References: <67D108EDFAD3C148A593E6ED7DCB4BBD9489AD40@RADCONWIN2K8PDC.radcon.local> <012701cdc274$116c5680$34450380$@yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox