I am working an application with JXL API and when i tried compiling using eclipse IDE, it\'s working fine and the same is not compiling when i am trying to compile in Comman
It means that, you have compiled that class with Java 6 and trying to execute with Java 5.
Solution :
If your using ant, execute below steps on the project root directory
If your using eclipse, just clean the workspace(remove the class files which were compiled with Java6) and build again