Re: stupid question about loading driver

From: Daniel Serodio <daniel(at)checkforte(dot)com(dot)br>
To: PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: stupid question about loading driver
Date: 2003-01-20 11:35:58
Message-ID: 1043062557.21149.9.camel@kelly.ckf
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

You could also put all your 'lib' jars in a lib/ directory, and use
relative paths in your manifest, like:

Classpath: lib/pgjdbc2.jar

[]'s
Daniel

On Sun, 2003-01-19 at 17:23, Richard Welty wrote:
> On Sun, 19 Jan 2003 10:19:58 -0800 Paul Stead <pstead(at)elementallogic(dot)com> wrote:
> > Hope this helps....it took me a day of pure frustration to figure this
> > out!!
> > The Java documentation is NOT clear about this little tidbit on using
> > the -jar call.
>
> quite. i have ca. $200 or $250 in java books on my desk, huge books that in
> theory ought to cover just about everything, yet stuff like this is poorly
> documented and hard to track down, either online or in the books. it's
> quite aggravating.
>
> i've chosen to use -cp instead of -jar per one of the other postings to
> avoid the annoyance and potential non-portability of coding paths and jar
> file names in the manifest.mf file.
>
> thanks again,
> richard
> --
> Richard Welty rwelty(at)averillpark(dot)net
> Averill Park Networking 518-573-7592
> Unix, Linux, IP Network Engineering, Security
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Daniel Serodio <daniel(at)checkforte(dot)com(dot)br>
CheckForte

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joel Hock 2003-01-20 16:45:24 Re: insertRow and updateable resultset
Previous Message Renaud Waldura 2003-01-20 06:51:52 Requiring Ant 1.5 for build breaks JDK 1.1 compatibility