This took me quite a bit of research, so I thought it might go into the
documentation
https://jitsi.org/Documentation/ConfigureEclipseNew
How to set up the compiler in Eclipse for JDK 8:
1. Window → Preferences → Java → Installed JREs
Screenshot: eclipse-compiler-1.png
Add or Edit, depending on if jre8 is already on the list
Screenshot: eclipse-compiler-2.png
Set JRE Home e.g. = C:\Program Files\Java\jdk1.8.0\jre for Windows
Set Default VM Arguments: -Dbuild.compiler=javac1.7
Screenshot: eclipse-compiler-3.png
2. Run → External Tools → External Tools Configurations... → JRE
Screenshot: eclipse-ant-1.png
Separate JRE: Pick the JRE you just configured
Screenshot: eclipse-ant-2.png
jitsi-eclipse.zip (261 KB)