I get this error when I compile my java program:
error: Class names, \'EnumDevices\', are only accepted if annotation processing is explicitly requested 1
I was stumped by this too because I was including the .Java extension ... then I noticed the capital J.
This will also cause the "annotation processing" error:
javac myclass.Java
Instead, it should be:
javac myclass.java