I want to deply a servlet on a server which is running jvm1.5. but my workstation has jdk1.6. the servlet is runing fine on my system but it giving this error on the server.
java.lang.UnsupportedClassVersionError: Bad version number in .class file
I googled and foung it because of other version of jvm. I dont want to install jdk1.5 on my system. is there anyway to solve this problem.