While working with eclipse J2EE IDE on Mac OS X system running Yosemite Operating system, i got the following error message Syntax error, annotations are only available if source level is 1.5
I have configured JRE with Java version jre 1.8, to fix this issue,
Note that older versions of Eclipse IDEs do not support Java 8 version. You need to have Eclipse Kepler SR2 or Eclipse Luna versions for Java 8 support.
Code2care'smission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.