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)