Elastic search server startup fails with "java.lang.ArrayIndexOutOfBoundException" in 6.2

Looks like a duplicate of this issue:

I think this indicates that your JDK is not properly installed, and is using code with a mix of versions.