I am on widows and also using eclipse. Currently I am using java 7. Now I want to use java 8. but i cannot uninstall java 7 as some of my old projects are working in java 7.
So how can I install both java version at same time and switch between these versions.
I want only some particular projects will use java 8.
Install both JDKs in your system and for any project if you want to use jdk 1.8. Do this
Right click on that project->Properties->java complier->set compliance level to 1.8