Re: .jar file gives error

From: andreak(at)officenet(dot)no
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: .jar file gives error
Date: 2012-11-14 14:20:36
Message-ID: OrigoEmail.78.a40cece529c6e04e.13aff497278@prod2.officenet.no
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

<div>På onsdag 14. november 2012 kl. 15:16:09, skrev Rob Richardson &lt;<a href="mailto:RDRichardson(at)rad-con(dot)com" target="_blank">RDRichardson(at)rad-con(dot)com</a>&gt;:</div>

<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="WordSection1">
<p class="MsoNormal">Greetings!<o:p></o:p></p>

<p class="MsoNormal"><o:p> </o:p></p>

<p class="MsoNormal">This is probably a simple question because I have never before tried to run a .jar file.<o:p></o:p></p>

<p class="MsoNormal"><o:p> </o:p></p>

<p class="MsoNormal">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:<o:p></o:p></p>

<p class="MsoNormal"><o:p> </o:p></p>

<p class="MsoNormal">Failed to load Main-Class manifest attribute from<o:p></o:p></p>

<p class="MsoNormal">postgresql-9.2-1002.jdbc4.jar<o:p></o:p></p>

<p class="MsoNormal"><o:p> </o:p></p>

<p class="MsoNormal">What do I need to do to fix this?<o:p></o:p></p>
</div>
</blockquote>

<div>What are you trying to accomplish? PgJDBC is not an application, it is a database-driver implementing the JDBC-specification, providing a way for JAVA-programmers to communicate with PG from JAVA.</div>

<div> </div>

<div class="origo-email-signature">--<br>
Andreas Joseph Krogh &lt;andreak(at)officenet(dot)no&gt;      mob: +47 909 56 963<br>
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no<br>
Public key: http://home.officenet.no/~andreak/public_key.asc</div>

<div> </div>

Attachment Content-Type Size
unknown_filename text/html 1.5 KB

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Johnston 2012-11-14 14:26:42 Re: .jar file gives error
Previous Message Rob Richardson 2012-11-14 14:16:09 .jar file gives error