I am taking over a very old project with no documentation and I am trying to determine the right library to try and decompile and eventually recompile code with.
Looking around the internet I have seen two methods: Checking the manifest file and doing javap -v sample.class
When looking at the manifest inside the jar file I am seeing the following:
Manifest-Version: 1.0
Created-By: 1.4.2_09 (Sun Microsystems Inc.)
But when I do javap -v on the classes inside the jar file, it is showing major version 46 (java version 1.2)
As this is a old project with no documentation and no handover, any code changes done would have to be decompiled from the original jar and after modification recompiled using the same libraries and then updated into the jar. Therefore the right library is extremely important.
So the question is which version should I be looking at or is there a better way to achieve what I need?