Thread: Help with compile

Help with compile

From
felipe de Jesús Molina Bravo
Date:
Hi

I have the next configuration:

Postgresql 7.2.3
JDK 1.4.1_01
ant 1.4.1

the account:postgres
JAVA_HOME=/usr/local/jdk1.4.1
ANT_HOME=/usr/local/ant

I try to compile the jdbc driver the next forms:

- When compile the postgres
    ./compile --with-java
    gmake

and

- At src/interfaces/jdbc:

        ant jar

I got the some errors,for example:
[javac]
/home/postgres/src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.java 57 connot resolve


Please help me

Thanks






Re: Help with compile

From
Barry Lind
Date:
7.2 jdbc driver will not compile under jdk1.4.  It will however run
under jdk1.4.  So either compile with 1.3 or get the prebuilt jars from
jdbc.postgresql.org.

7.3 and current CVS does however compile with jdk1.4.

thanks,
--Barry


felipe de Jesús Molina Bravo wrote:
> Hi
>
> I have the next configuration:
>
> Postgresql 7.2.3
> JDK 1.4.1_01
> ant 1.4.1
>
> the account:postgres
> JAVA_HOME=/usr/local/jdk1.4.1
> ANT_HOME=/usr/local/ant
>
> I try to compile the jdbc driver the next forms:
>
> - When compile the postgres
>     ./compile --with-java
>     gmake
>
> and
>
> - At src/interfaces/jdbc:
>
>         ant jar
>
> I got the some errors,for example:
> [javac]
> /home/postgres/src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.java 57 connot resolve
>
>
> Please help me
>
> Thanks
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>