Doing that gives us this lovely message: [INFO] Compiling 2 source files to /home/ram/tests/apex/myapexapp/target/classes javacTask: source release 1.8 requires target release 1.8
An interesting page discussing possible problems: http://www.draconianoverlord.com/2014/04/01/jdk-compatibility.html Ram On Wed, Oct 5, 2016 at 10:22 AM, Thomas Weise <[email protected]> wrote: > Source level can be 1.8, which allows you to use 1.8 features. Did you > keep target level at 1.7? > > > On Wed, Oct 5, 2016 at 10:18 AM, [email protected] <[email protected]> > wrote: > >> I think the problem is what people expect when we say "certified". To >> me, If I see something is certified with java 8, I would assume that I can >> use java 8 api(new features stream, lambda etc.) to write the operator >> code, not only just run the code with jre 8 or compile existing code with >> jdk 8 and run. >> >> I did try some operator code with java 8 stream API and some lambda >> expression in some methods it works. I havn't tried any operators with new >> features in their non-transient properties. And also we should take a look >> to see if kryo fully works with java 8 classes/types >> >> Regards, >> Siyuan >> >> >> >> On Wed, Oct 5, 2016 at 9:34 AM, Munagala Ramanath <[email protected]> >> wrote: >> >>> You can use Java 8 but the source and target compatibility configuration >>> parameters in >>> your pom.xml for the maven-compiler-plugin still need to be 1.7 >>> >>> Ram >>> >>> On Wed, Oct 5, 2016 at 9:14 AM, Feldkamp, Brandon (CONT) < >>> [email protected]> wrote: >>> >>>> So is it safe to say that JDK 1.8 is supported to the same extent that >>>> 1.7 is? >>>> >>>> >>>> >>>> We’re not running into any issues currently (that I know of…feel free >>>> to chime back in Alex) but we’re making design decision and were curious >>>> about being able to use Java 8 features. >>>> >>>> >>>> >>>> Thanks! >>>> >>>> Brandon >>>> >>>> >>>> >>>> *From: *Vlad Rozov <[email protected]> >>>> *Organization: *DataTorrent >>>> *Reply-To: *"[email protected]" <[email protected]> >>>> *Date: *Monday, October 3, 2016 at 11:43 PM >>>> *To: *"[email protected]" <[email protected]> >>>> *Subject: *Re: Apex and Malhar Java 8 Certified >>>> >>>> >>>> >>>> We do test on Java 8 - both Apex Core and Malhar Apache Jenkins builds >>>> use JDK 1.8 to run tests. >>>> >>>> Thank you, >>>> >>>> Vlad >>>> >>>> On 10/3/16 15:45, Thomas Weise wrote: >>>> >>>> Apex is built against Java 7 and expected to work as is on Java 8 >>>> (Hadoop distros still support 1.7 as well). Are you running into specific >>>> issues? >>>> >>>> >>>> >>>> Thanks, >>>> >>>> Thomas >>>> >>>> >>>> >>>> On Mon, Oct 3, 2016 at 12:06 PM, McCullough, Alex < >>>> [email protected]> wrote: >>>> >>>> Hey All, >>>> >>>> >>>> >>>> I know there were talks about this at some point but is Apex and/or >>>> Malhar Java 8 certified? If not, is there a current plan and date to be so? >>>> >>>> >>>> >>>> Thanks, >>>> >>>> Alex >>>> >>>> >>>> ------------------------------ >>>> >>>> The information contained in this e-mail is confidential and/or >>>> proprietary to Capital One and/or its affiliates and may only be used >>>> solely in performance of work or services for Capital One. The information >>>> transmitted herewith is intended only for use by the individual or entity >>>> to which it is addressed. If the reader of this message is not the intended >>>> recipient, you are hereby notified that any review, retransmission, >>>> dissemination, distribution, copying or other use of, or taking of any >>>> action in reliance upon this information is strictly prohibited. If you >>>> have received this communication in error, please contact the sender and >>>> delete the material from your computer. >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------ >>>> >>>> The information contained in this e-mail is confidential and/or >>>> proprietary to Capital One and/or its affiliates and may only be used >>>> solely in performance of work or services for Capital One. The information >>>> transmitted herewith is intended only for use by the individual or entity >>>> to which it is addressed. If the reader of this message is not the intended >>>> recipient, you are hereby notified that any review, retransmission, >>>> dissemination, distribution, copying or other use of, or taking of any >>>> action in reliance upon this information is strictly prohibited. If you >>>> have received this communication in error, please contact the sender and >>>> delete the material from your computer. >>>> >>> >>> >> >
