Fix the Java 8 CMD definition