I think it also works with openJDK 6, just not with OracleJDK 6 . The problem you encounter is a known bug in Oracle JDK 6, but will not be fixed since they stopped supporting java 6.
To run it, java 6 is also fine, it is really only a limitation in the oracle java 6 compiler. On Thu, Oct 30, 2014 at 12:47 PM, Suneel Marthi <[email protected]> wrote: > Scratch that. It does work with Java 7. I think Java 7 should be made > mandatory?? > > On Thu, Oct 30, 2014 at 7:43 AM, Suneel Marthi <[email protected]> > wrote: > > > I am using Java 7. This is from > https://github.com/apache/incubator-flink, > > was I looking in the wrong place ? > > > > > > On Thu, Oct 30, 2014 at 5:40 AM, Stephan Ewen <[email protected]> wrote: > > > >> Hey Suneel! > >> > >> Which branch are you referring to? > >> > >> Also, which Java Version do you use? Java 6 (earlier versions) has some > >> limitations to matching generic method signatures and cannot identify > the > >> correct overriding method. > >> > >> Stephan > >> > >> > >> Am 30.10.2014 10:06 schrieb "Suneel Marthi" <[email protected]>: > >> > >> > Trying to build the project via 'mvn clean package', the build fails > >> always > >> > with the folllowing error: > >> > > >> > [ERROR] Failed to execute goal > >> > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > >> > (default-compile) on project flink-java: Compilation failure > >> > [ERROR] > >> > > >> > > >> > /Users/smarthi/opensourceprojects/incubator-flink/flink-java/src/main/java/org/apache/flink/api/java/operators/CoGroupOperator.java:[56,8] > >> > org.apache.flink.api.java.operators.CoGroupOperator is not abstract > and > >> > does not override abstract method > >> > > >> > > >> > translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1>,org.apache.flink.api.common.operators.Operator<IN2>) > >> > in org.apache.flink.api.java.operators.TwoInputOperator > >> > > >> > > >> > Am I missing something here? > >> > > >> > > > > >
