From: Oliver Jowett <oliver@opencloud.com>
To: Peter Cook <ttpcook@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Getting connected
Date: Fri, 07 Oct 2005 11:02:57 +1300
Message-ID: <43459F11.7060401@opencloud.com> (raw)
In-Reply-To: <BAY103-F40117189CA6BE61B278236B7850@phx.gbl>
References: <BAY103-F40117189CA6BE61B278236B7850@phx.gbl>
Peter Cook wrote:
> classpath = classpath + ";" + driverPath;
> System.setProperty("java.class.path", classpath);
I don't think this works; the system classloader has already been set up
by this point so any change to the java.class.path property is likely to
be ignored.
If you want to modify the system classpath to include the driver jar,
you'll have to do that by passing an appropriate -classpath (or
CLASSPATH) setting to the JVM when you start it.
-O
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: oliver@opencloud.com, ttpcook@hotmail.com
Subject: Re: Getting connected
In-Reply-To: <43459F11.7060401@opencloud.com>
References: <BAY103-F40117189CA6BE61B278236B7850@phx.gbl> <43459F11.7060401@opencloud.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