I'm modifying a java program which was written in 2004 using javaw.exe from J2re1.4.2_03.
problem: Is there a way to figure out which JDK compiler a programmer used to compile a java file with?
backstory: I recompiled the java file with jdk5's javac. I run it with the javaw.exe from the j2re1.4.2_03, it gives me a popup error "Could not find the main class. Program will exit."
From some googling, error message means classes compiled with an even older javac.exe If I run it with a jdk5's javaw.exe, no error.
I want to avoid recompiling all the class files as I do not have all of the original java files to do a complete recompilation.
Is there a way around this or a way to figure out which compiler the original programmer used to do this? or one which works better with
thanks in advance