Re: Deprecated error building flink

2015-02-22 Thread Dulaj Viduranga
hmm……… I didn’t see that… Thanks for the help! :) > On Feb 22, 2015, at 6:53 PM, Chiwan Park wrote: > > You can change java version by setting JAVA_HOME var in .mavenrc file. > http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7 > >

Re: Deprecated error building flink

2015-02-22 Thread Chiwan Park
You can change java version by setting JAVA_HOME var in .mavenrc file. http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7 Regards. Chiwan Park (Sent with iPhon

Re: Deprecated error building flink

2015-02-22 Thread Robert Metzger
Seems like you have to set the JAVA_HOME variable properly ( http://stackoverflow.com/questions/18813828/why-maven-use-jdk-1-6-but-my-java-version-is-1-7 ) On Sun, Feb 22, 2015 at 2:11 PM, Dulaj Viduranga wrote: > Oh yes. :) It runs on 1.6. How could I fix that? > > > On Feb 22, 2015, at 6:37 PM

Re: Deprecated error building flink

2015-02-22 Thread Dulaj Viduranga
I haven’t set JAVA_HOME env. Java path is set in PATH env. Is this the problem? > On Feb 22, 2015, at 6:35 PM, Dulaj Viduranga wrote: > > Hi, > But I’m using Oracle java 8 (javac 1.8.0_05). > >> On Feb 22, 2015, at 6:32 PM, Robert Metzger wrote: >> >> Hi Dulaj, >> >> you are using an

Re: Deprecated error building flink

2015-02-22 Thread Dulaj Viduranga
Oh yes. :) It runs on 1.6. How could I fix that? > On Feb 22, 2015, at 6:37 PM, Robert Metzger wrote: > > Can you run "mvn -version" to verify that? > Maybe maven is using a different java version? > > On Sun, Feb 22, 2015 at 2:05 PM, Dulaj Viduranga > wrote: > >> Hi, >>But I’m using

Re: Deprecated error building flink

2015-02-22 Thread Robert Metzger
Can you run "mvn -version" to verify that? Maybe maven is using a different java version? On Sun, Feb 22, 2015 at 2:05 PM, Dulaj Viduranga wrote: > Hi, > But I’m using Oracle java 8 (javac 1.8.0_05). > > > On Feb 22, 2015, at 6:32 PM, Robert Metzger wrote: > > > > Hi Dulaj, > > > > you

Re: Deprecated error building flink

2015-02-22 Thread Dulaj Viduranga
Hi, But I’m using Oracle java 8 (javac 1.8.0_05). > On Feb 22, 2015, at 6:32 PM, Robert Metzger wrote: > > Hi Dulaj, > > you are using an unsupported compiler to compile Flink. You can compile > Flink only with OpenJDK 6 and all JDKs above 6. The Oracle JDK 6's compiler > contains a bu

Re: Deprecated error building flink

2015-02-22 Thread Robert Metzger
Hi Dulaj, you are using an unsupported compiler to compile Flink. You can compile Flink only with OpenJDK 6 and all JDKs above 6. The Oracle JDK 6's compiler contains a bug. You can run Flink with all JREs 6+ (including Oracle JDK 6). I would recommend you to upgrade your Java version to 7 anywa

Deprecated error building flink

2015-02-22 Thread Dulaj Viduranga
Hi all, I’m new here. I had some problems building flink on my mac. Could someone please take a look and help me out..? Dulaj Viduranga. [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.flink:flink-streaming-ex