How to determine the JDK version required to use a jar?
Hi all.
I am using a hosted server that uses JDK 1.4.2 and I cannot upgrade the VM. I have been finding it extremely difficult to install web applications on this server since I find that after installing the app, the web server complains the bytecode used in the jar is newer than the VM can understand (or it complains that the app uses JEE servlet or JSP methods it cannot find).
To compound the problem, only about 25% of the sites I've visited that provide jars for download mention the minumum JDK version required to use them. (Some do not mentionany system requirements at all besides 'requires Java and a Java application server').
Do any of you know of any tools that can analyze a jar and determine the bytecode version it uses?
(Another helpful tool would be one that can determine the minimum JEE APIs required to run a web app..., but that's probably wishful thinking :)).
Thanks for your help.
Michael N. Christoff

