my project was built in java 7.i have to run that project in neon 2. so I installed java 7 but when I start the eclipse it shows the error and eclipse terminated. error: Version 1.7.0_79 of the JVM is not suitable for this product. version:1.8 or greater is required.
Open eclipse.ini and add
-vm
path_to_your_jdk8/bin/javaw.exe
Note: do this before -vmargs
In project properties ,in compiler options change compiler to java 8 and build the project ..