I have a Delphi program which can analyze PE/NE headers in Windows EXE files - but not right here. I think it can be ported to Java easily as it does a binary analysis of the files.
Of course, using a JNA calls to Windows API could do the trick on Windows.
Edit: I found it, but there are some minor glitches:
- The original aim of the program was to extract resources from EXE (PE/NE) files, as at the time the available resource editors only worked with the PE format (NE is used by Win3.1)
- The UI does not display the version info, but the record structure is there for it
- The UI is entirely in Hungarian, I can provide translation if needed
- Some of the code comments are in Hungarian, except some record structure descriptions, which are in English
- I don't know if it compiles or not by its own today.
- The ZIP includes a compiled Win32 RESXPLOR.EXE
- The code has some buffer overrun bugs here or there - should be easily to fix it in Java