Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYdwI-0004xN-VG for pgsql-jdbc@postgresql.org; Wed, 14 Nov 2012 14:27:39 +0000 Received: from nm14-vm0.bullet.mail.ac4.yahoo.com ([98.139.52.234]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYdwG-0000Nj-B3 for pgsql-jdbc@postgresql.org; Wed, 14 Nov 2012 14:27:38 +0000 Received: from [98.139.52.194] by nm14.bullet.mail.ac4.yahoo.com with NNFMP; 14 Nov 2012 14:27:35 -0000 Received: from [76.13.13.45] by tm7.bullet.mail.ac4.yahoo.com with NNFMP; 14 Nov 2012 14:27:35 -0000 Received: from [127.0.0.1] by smtp106.prem.mail.ac4.yahoo.com with NNFMP; 14 Nov 2012 14:27:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1352903255; bh=DKetW8XPLEgIIkMX/nml56wWs9jDyqQPBaZACp0CIzo=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:X-Mailer:Thread-Index:Content-Language; b=IgpiZdgpHwqurz8uP5MtZAQwBIqYbbDVSwAEP/W0G/tjb9/LSBiMQVxN28uxjt6u0Uve9YvWGrYtDCwmsDMy+vJdsw6WjjeoSM2Z8ZKrcRpPfKTGwExnJQmvcU/XyTbfMYk0JwGa7qeA0Wt8yDW3Cg4uU0VFxGpGmtq9vpjA9Ag= X-Yahoo-Newman-Id: 513961.48394.bm@smtp106.prem.mail.ac4.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: z8PYp.4VM1lW9HlK2q6_1cqL_LwWQY0MN3xpN3LLJ6hw2oH aZGpTPDygSYJCm4N1kTPgO8fE0JSlSt8Y7hp8TJUP0LHIniIUeQ8UkWQ1kOx 3qRuGVNub_B1VcNg89rkgVkE76jze4KGCei8ulcoidy24sLDdprTx_kgkuoH UURdRN55Dqe4arWUWJksULYVhoMvKl5RgTi6_2Umm4396nIDKMKq.8tOToLq B5OYwU3.oxfm6HCFkkq4.lNa0UeYbQ8Lt37u9SX8xopgvr5710OtLvpbO1ZX VJcU80IjfBqwfG2UpIifxUxXzZMxN2KcxLJfOWJ6l1XLZzTjEL3uPyR5IIlc _b7_Ex3aF122Ax.xAovakKcLzesMEGdUUA.WNd2KBxgeLan4Qx8uz9iOsll5 oYkk7PsqzAB0aIDjpXRIc_hDUy9kvPX8H0EvITSkwTr1kVE5_PC.HozBquHq QXX4L X-Yahoo-SMTP: mpGJl6eswBD2IBufoVEg0Pa8gg-- Received: from WolfDog (polobo@24.93.23.188 with login) by smtp106.prem.mail.ac4.yahoo.com with SMTP; 14 Nov 2012 06:27:35 -0800 PST From: "David Johnston" To: "'Rob Richardson'" , References: <67D108EDFAD3C148A593E6ED7DCB4BBD9489AD40@RADCONWIN2K8PDC.radcon.local> In-Reply-To: <67D108EDFAD3C148A593E6ED7DCB4BBD9489AD40@RADCONWIN2K8PDC.radcon.local> Subject: Re: .jar file gives error Date: Wed, 14 Nov 2012 09:26:42 -0500 Message-ID: <012701cdc274$116c5680$34450380$@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0128_01CDC24A.28978700" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFEGoNd18cR8rR1PJ/BH8UdNZ3uEZj8skfQ Content-Language: en-us X-Pg-Spam-Score: 0.6 (/) X-Archive-Number: 201211/62 X-Sequence-Number: 23529 This is a multipart message in MIME format. ------=_NextPart_000_0128_01CDC24A.28978700 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0128_01CDC24A.28978700 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0128_01CDC24A.28978700--