We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So I've got the below code snippet in Processing 3.3.6:
menuBarButtons.add(new TextButton("File", 0, 0, 20, menuBarHeight, (() -> println("Test")) ));
However, processing gives the error
Lambda expressions are allowed only at source level 1.8 or above
This is quite easy to fix in any normal java IDE by changing the JRE in the build path configuration, but I can't find any option for this in the settings. I tried copy pasting a more up to date JRE into the processing folder, but to no avail. Please help me.
Answers
https://GitHub.com/processing/processing/issues/3054
https://GitHub.com/processing/processing/issues/4484