The error message "class file format of version 51.0" means that the class files you want to convert has been generated for Java 1.7 which is not supported.
If you are compiling your Java files with Eclipse you have to change the "Java Compiler" in the project settings. Enable project specific settings and change the compliance level to Java 1.5.