I'm trying to compile a Spark batch job, with compatibility with Java 7, because the cloudera cluster we are using has only java 7 installed (and I can not update it).
The error I get is:
org.talend.designer.runprocess.ProcessorException: Routines "TalendDate" has compile errors
Error Line: 298
Detail Message: Lambda expressions are allowed only at source level 1.8 or above
The Talend process is a simple read a line from hive -> show the result.
I already tried to uninstall all java versions I had in the system and installed only the last version of jdk 8.
These are my current compiler settings: (Talend Data fabric version 7.1)
Is the Studio process itself running in java 8 or 7?
You can change which JVM the Studio uses by editing a shortcut to the executable. This is what I have to force Studio to use Java 8 because I also have 7 installed.
Talend-Studio-win-x86_64 -vm "C:\Program Files\Java\jre1.8.0_162\bin" -vmargs -Xms1024m -Xmx4096m -XX:MaxPermSize=512m
Really thanks for the answer.
I'm sure Talend is working with java 1.8, because this version of the studio require it.
If I do the reverse operation, forcing Talend to run on java 7:
Talend-Studio-win-x86_64 -vm "C:\Program Files\Java\jre7\bin" -vmargs -Xms1024m -Xmx4096m -XX:MaxPermSize=512m
It gives me the error:
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to make your data more available, reduce costs and cut your build time
Read about OTTO's experiences with Big Data and Personalized Experiences
Take a look at this video about Talend Integration with Databricks