java - how to recompile the 3rd party jars using lower version -
i stuck issue because of lower version of java. using eclipse, set compiler level 1.5 version , using jars
- ojdbc.jar
- jxl.jar
but throwing following error. suspecting jars compiled higher version may thats reason error.
java.lang.unsupportedclassversionerror: bad version number in .class file @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(unknown source) @ java.security.secureclassloader.defineclass(unknown source) @ java.net.urlclassloader.defineclass(unknown source) @ java.net.urlclassloader.access$100(unknown source) @ java.net.urlclassloader$1.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ sun.misc.launcher$appclassloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ java.lang.classloader.loadclassinternal(unknown source) exception in thread "main"
please let me know how recompile 3rd party jars lower version. or other solution or issue.
jxl.jar culprit. may latest version compiled on 1.7 + version
http://sourceforge.net/projects/jexcelapi/files/jexcelapi/2.6.9%20%28java%201.4%29
i download jar compiled 1.4 version of java. safe on 1.5 version :) :)
Comments
Post a Comment