Re: trying to compile postgres with java support

From: Chris Lachaux <clachaux(at)houston(dot)westerngeco(dot)slb(dot)com>
To: <streethockey(at)ureach(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: trying to compile postgres with java support
Date: 2002-01-25 22:19:01
Message-ID: 5.0.0.25.2.20020125160846.00a97288@wgmail1.houston.nam.slb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Eric,
Add the Ant and JDK directories to your PATH environment variables,
something like
setenv PATH "${PATH}:/opt/jakarta-ant-1.4.1/bin"
setenv PATH "${PATH}:/opt/j2sdk1.4.0/bin"
Use the appropriate form for whatever shell you are using.

Having done that, mine begins to compile and then fails with a message
cannot resolve symbol
symbol : class RollbackException
location : package transaction
import javax.transaction.RollbackException

It's not clear to me whether I need to use J2EE rather than J2SE

Chris.

At 03:40 PM 1/25/2002, you wrote:
>trying to compile postgres with java support
>
>using latest version of postgres, I am trying to
>compile in java support, with the:
>
> ./configure --with-java
>
>option and it just doesnt seem to work.
>
>I have installed ANT and the SDK and JRE
>and it just doesnt seem to work, is there
>someone who has done this and knows how to set
>up the paths and environment variables for ANT and
>JAVA SDK so all this stuff is picked up by postgres
>compile ?
>
>Thanks in advance:
>
>Eric Sean Webber
>streethockey(at)ureach(dot)com
>
>________________________________________________
>Get your own "800" number
>Voicemail, fax, email, and a lot more
>http://www.ureach.com/reg/tag
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>message can get through to the mailing list cleanly

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Florian Wunderlich 2002-01-25 22:38:44 Re: trying to compile postgres with java support
Previous Message Peter Eisentraut 2002-01-25 22:16:20 Re: trying to compile postgres with java support