Re: Windows port installer - Mailing list pgsql-jdbc

From Chris Smith
Subject Re: Windows port installer
Date
Msg-id 01e301c468e6$f348fc70$6f00000a@KYA
Whole thread Raw
In response to Windows port installer  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: Windows port installer
List pgsql-jdbc
Dave Page wrote:
> I'm currently working on the installer for the binary distribution of
> the Win32 port of PostgreSQL. We are already including psqlODBC and
> Npgsql, and would like to include the JDBC driver as well. Knowing
> nothing about JDBC I'm at a bit of a loss however and would appreciate
> some guidance on what files to install, and where, as well as any
> changes to the environment or registry etc. that may be required.

Here's an opinion from someone who's not really a JDBC driver developer at
all.

There's not really a location to install JDBC drivers onto an operating
system.  They are not native libraries, and are typically packaged with
applications.  The closest thing you could do to an installation would be to
locate JVM install directories via "HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java
Runtime Environment/*/JavaHome", and drop the JAR file into lib/ext relative
to that directory; but frankly I'd probably resent your doing so and certainly
wouldn't find it very useful.

If you need to give lip service to including JDBC drivers for political
reasons, then the best approach is probably to just leave the JDBC driver JAR
file somewhere, and provide documentation on how to find it.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation


pgsql-jdbc by date:

Previous
From: "Dave Page"
Date:
Subject: Windows port installer
Next
From: "Dave Page"
Date:
Subject: Re: Windows port installer