I am having some trouble updating the compiler compliance of my eclipse workspace (I am actually using RTC, but it is essentially eclipse). Currently, it uses a jdk of 1.6 so I
Right click on project you have in use, click on Properties,
enter image description here go on "Compiler compilance level", and select 1.8
enter image description here