Skip site navigation (1) Skip section navigation (2)

Re: 7.2.2 java configure problem on Mac OS X 10.1.5

From: Joel Rodrigues <borgempath(at)Phreaker(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: 7.2.2 java configure problem on Mac OS X 10.1.5
Date: 2002-09-17 19:00:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
On Tuesday, September 17, 2002, at 07:50 , Tom Lane wrote:

> Joel Rodrigues <borgempath(at)Phreaker(dot)net> writes:
>> checking whether /usr/local/ant/bin/ant works... no
>> configure: error: ant does not work
> Look in config.log to get more info about the problem.  I've
> seen some reports indicating that you must have JAVA_HOME set
> to get ant to behave properly.
> 			regards, tom lane

Hi Stuart, Tom, thanks for the input !

Here's the relevant bit from config.log:

configure:1916: checking whether /usr/local/ant/bin/ant works
configure:1939: /usr/local/ant/bin/ant -buildfile conftest.xml 1>&2
Buildfile: conftest.xml

Unable to load default ProjectHelper due to 
java.lang.NoClassDefFoundError: org/xml/sax/SAXException

Total time: 5 seconds
configure: failed java program was:
public class conftest {
     int testmethod(int a, int b) {
         return a + b;
configure: failed build file was:
<project name="conftest" default="conftest">
  <target name="conftest">
   <javac srcdir="." includes="">

I just looked in /Library/Java/Home, and there are 2 aliases, 
"doc" & "include", which lead nowhere, i.e. "the original item 
could not be found". Is that normal ?

I have these set:


pgsql-novice by date

Next:From: Tom LaneDate: 2002-09-17 19:14:54
Subject: Re: [NOVICE] Postgres storing time in strange manner
Previous:From: James HallDate: 2002-09-17 16:30:20
Subject: Copy Users?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group