Question by
Zyrvaria · Aug 24, 2021 at 12:24 PM ·
programmingjava
Build fails because it's using java 1.7 despite being supposed to use 1.8
When we try to build a project with a java plugin we made we get this error: "error: lambda expressions are not supported in -source 1.7 (use -source 8 or higher to enable lambda expressions)". We've downloaded the newest available JDK and assigned the correct Java paths and JAVA_HOME in both environment variables and unity. We haven't installed 1.7 so we don't quite understand why it's compiling with that version.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613042112im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Having problems with Overlap Circle 0 Answers
UI Text is Blurry in RenderTexture 1 Answer
End Of Line 2 Answers
Couldn't build Android App 2 Answers