The important part is that your java jdk for compiling your code is 1.8 since you're on 7.6.1. Different Eclipse versions will require newer JDKs depending on which version you go to but you can always compile your code with a different Java JDK than what you use to run Eclipse. Eclipse Neon supports 1.8 though so you can use the same JDK for running Eclipse and compiling your code.