I am using Java 1.8(which is set in all env variables. Also I dont not have any other version installed.)
Still when I am doing a maven build on a project, its giving me the below error: "diamond operator is not supported in -source 1.6 (use -source 7 or higher to enable diamond operator)"
Please suggest.