Finding out what version of java a class was compiled with
843810Aug 1 2005 — edited Aug 1 2005Hi, I have a question that might be answered rather quickly. Is there anyway when given a java class file to find out what version of java was used to compile the original source code? I have an abundance of java class files and I do not want to have to recompile all of the code associated with them so that it matches the version of java that I am currently using. The code was either compiled in Java 1.4 or Java 5.0. I know that if the version of java I am using does not match with the java class files that I will have an "Unsupported Class Version Error". Thank you for taking the time to read my inquiry.
-MJ