Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a problem with the open source version 6.1 of Talend.
I created a component using the java 8 syntax.
The component is published in the palette without problems.
When visualizing the source code of the job that uses this component, I have the void. Looking at the log, I have the following error:
"lambda expressions are only available at source level 1.8 or above"
I have already set the compliance level to 1.8.
And I launch the Talend studio with the option:
-vm C: \ Program Files \ Java \ jdk1.8.0_171 \ bin
Any suggestions?
Thanks
Hello,
Are you using talend open studio V 6.1 or subscription solution? Is the Studio process itself running in java 8?
Best regards
Sabrina
Hi,
I'm using talend open studio V 6.1.
I already put the compliance level at 1.8 and the studio process is running in java 8
Thanks
Hello,
Are you using oracle JDK 1.8 instead of JRE? Have you tried to restart your studio to see if this issue repro?
Best regards
Sabrina
I'm using oracle JDK 1.8
I restarted my studio several times but the problem persists.
Thanks
Do you have any other versions of Java on your machine? I suspect you have and that your Path variable is pointing to an older one.
Your configuration of the Talend ini file might be causing issues as well. You posted this....
-vm C: \ Program Files \ Java \ jdk1.8.0_171 \ bin
Could you amend to this....
-vm C:\Program Files\Java\jdk1.8.0_171\bin
The environment variable JAVA_HOME points well to version 8 of java
I put the correct conf on the file ini of Talend.
Thanks
Some have an idea about the origin of the problem.
I think I put the right configuration but the problem persists.
Thanks again
What is in your PATH variable. The JAVA_HOME variable is not really a deal breaker here. The PATH *could* be causing this.
Also, have you tried reinstalling?