I get this error when I compile my java program:
error: Class names, \'EnumDevices\', are only accepted if annotation processing is explicitly requested 1
Using javac ClassName.java to compile the program, then use java ClassName to execute the compiled code. You can't mix javac with the ClassName only (without the java extension).