Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm trying to generate a job in TAC which includes some Java 1.8 lambda syntax code. It compiles and runs nicely in Studio, but whenever I try to generate it on TAC, I get this error:
Lambda expressions are allowed only at source level 1.8 or above
TAC is running on Java 1.8 as well, so I wonder why it doesn't accept the new syntax.
Any insights?
Hi,
Are you using the same Java 1.8 build version on both your studio and TAC? Could you please check if the released JDK 8 is with lambdas or without?
Best regards
Sabrina
Hello,
Did you deploy a .zip on TAC?
With your subscription solution, could you please create a case on talend support portal so that we can give you a remote assistance through support cycle with priority?
Best regards
Sabrina
Hi,
Could you please create a case on talend support portal so that we can give you a remote assistance(webex) through support cycle with priority?
Best regards
Sabrina
Hi Mortee/sabrina,
Did you found any resolution to the issue? I am also facing the same error. When i run it from studio job runs fine. But when i run it from TAC it is giving the error as "Lambda expressions are allowed only at source level 1.8 or above".
Kindly comment.
Thanks,
Ram
Hello brama,
Could you please indicate on which talend build version you got this issue?
Best regards
Sabrina
I was able to solve this by going to Window->Preferences->Java->Compiler. In the JDK Compliance window for Compiler compliance level I set it 1.8. Hope this helps.