From: | Marc Lavergne <mlavergne-pub(at)richlava(dot)com> |
---|---|
To: | chantal(dot)ackermann(at)web(dot)de |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: compile of jdbc driver failed |
Date: | 2002-02-21 19:20:16 |
Message-ID: | 3C754870.5090407@richlava.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
There was an earlier post about this. The driver works fine with the
1.4.0 JRE, but it does need to be compiled with 1.3.1 due to the fact
that the ANT build.xml file hasn't been update to reflect the 1.4.0 JDK
as of 7.2.0. In brief, the script mistakenly identifies 1.4.0 J2SE as a
J2EE variant. You can easily "kludge" this by changing line 34 in the
build.xml file to read:
...
<available property="jdk1.2e+" classname="javax.sql.DataSourceX" />
...
This will prevent ANT from mistaking J2SE for J2EE since
javax.sql.DataSourceX doesn't exist in J2SE (or J2EE obviously). You can
then just run make from the command line. However, if you already have
compiled using 1.3.1, it makes no difference, and can just use that
version with the 1.4.0 JRE.
Cheers,
Marc
Chantal Ackermann wrote:
> hi again,
>
> I retried compiling the jdbc driver with jdk1.3 and it worked. I even found
> the messages in this mailing list that refer to this incmpability problem.
>
> Does someone know if there is already a patch (or unstable version etc.) of
> the driver for jdk1.4?
>
> cheers
> Chantal
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2002-02-21 21:23:15 | Re: Problem with Date and UpdatableResultSet.java?? |
Previous Message | Kovács Péter | 2002-02-21 17:47:25 | Re: alternative to postgresql - PostgreSQL Windows |