I am trying to perform a build on Eclipse Kepler but when I do so I get the following error javac: target release 1.6 conflicts with default source release 1.7
I have changed the Java Compiler to use 1.6 but this warned me that the default JRE was 1.7. I then went to Installed JREs removed 1.7 and created a new one for 1.6.
This still gives the sames error. I also saw something about adding -vm and the java path to eclipse.ini but this didnt help either.
Does anyone know what to do?
You may want to check the project or workspace's compiler settings and verify that the Java source and target versions are the same:
Here's a link to a similar error when using javac from the commandline: Can we use jdk7 javac to compile code with java7 features into java6 bytecode