I am pretty new to Java and Eclipse.
Today I was working on Eclipse, and after starting a switch statement, there was a red underline under the word "text" here - switch (text){
I clicked on the red x on the left where it explains what the problem is, and it was saying something like this (paraphrasing): "change it to java 1.7 to fix this problem".
After doing that, I got red axes all over my code. I want to undo this but don't know how.
I noticed there is a red exclamation point on the name of my project in the package explorer. I tried to right click on my project, properties, Java compiler, then unchecked the box saying "Use compliance from execution environment 'Java SE- 1.7 on the "Java Build Path'
I believe I was running on 1.6.
This did not fix the problem.
Please help!