I just encountered a strange error when switching the JDK version of a new Project of mine from 7u45 to 8u20. A harmless LogManager declaration at the beginning of my class
I change from JRE 8 to JRE 7 and restart Eclipse then it works fine.