I'm sorry, I don't know why you get the error message. However, I'm using Java 7 and Windows 10 and the solution for me was to temporarily use Java 8 by changing the JAVA_HOME
environment variable. Then I could run mvn install
and fetch from Maven Central Repository.