Edit: based on the images of errors that you uploaded later, it looks like you are using a Java 1.6 or earlier compiler. Do java -version to see what version you are using.
Update your windows path to use the java 1.7 version that you have elsewhere on your machine.