bitsofproof / supernode

BOP Bitcoin Server API - superseded versions
http://bitsofproof.com
Apache License 2.0
126 stars 62 forks source link

Won't build on Java 7. #3

Closed marklister closed 11 years ago

marklister commented 11 years ago

I'm trying to build commit a7483c8c9af46fd9a7ce422cd1fd36e463a01788. It fails with this error:

[javac] /home/mark/workspace/supernode/src/com/bitsofproof/supernode/model/PooledDatasource.java:35: error: PooledDatasource is not abstract and does not override abstract method getParentLogger() in CommonDataSource [javac] public class PooledDatasource implements DataSource [javac] ^ [javac] 1 error

My javac:

mark@Hannibal:~/workspace/supernode$ java -version java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.10.1) OpenJDK Server VM (build 23.2-b09, mixed mode)

I checked out (approx) HEAD~40 and that built Ok...

You might consider using Travis ci or something similar.

bitsofproof commented 11 years ago

This rather looks like a java 6 vs java 7 problem. I build using java 6.

marklister commented 11 years ago

Yeah, as this question on SO suggests. You might want to update the build instructions.