Can't build

From: Christian Schlichtherle <christian(at)schlichtherle(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Can't build
Date: 2014-08-16 20:50:13
Message-ID: C932F4A8-E736-4D06-A278-F96F4215FFE1@schlichtherle.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I have cloned the pgjdbc repository on github. However, I can’t build the code following the directions:

$ ant -lib lib
Buildfile: /Users/christian/code/pgjdbc/build.xml

all:

prepare:
[mkdir] Created dir: /Users/christian/code/pgjdbc/build
[mkdir] Created dir: /Users/christian/code/pgjdbc/jars

check_versions:

check_driver:

driver:
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql/ds
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql/ds
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql/ds
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql/ds
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql/xa
[copy] Copying 1 file to /Users/christian/code/pgjdbc/org/postgresql/ssl
[echo] Configured build for the JDBC4.1 edition driver.

compile:
[javac] /Users/christian/code/pgjdbc/build.xml:243: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

BUILD FAILED
/Users/christian/code/pgjdbc/build.xml:213: The following error occurred while executing this line:
/Users/christian/code/pgjdbc/build.xml:243: Class not found: javac1.8

Total time: 0 seconds
$ java -version
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
$ ant -version
Apache Ant(TM) version 1.8.4 compiled on August 7 2013
$ uname -a
Darwin coriander.fritz.box 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64

What else do I need to do?

Regards,
Christian Schlichtherle

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Christian Schlichtherle 2014-08-17 06:56:05 Re: Can't build
Previous Message Barry Bell 2014-08-15 16:08:24 Re: [ODBC] BIRT report opening multiple connections