I'm examining my Windows programs to determine which ones are written in Java, and if so, whether they import a log4j library affected by the log4shell vulnerability.
Programs that are packaged as JAR files and use the JVM to run are fairly easy to identify.
However, I am less certain about .exe
files. Usually these are compiled from say C++, but there are ways to compile Java code into .exe
files.
Is there a method to identify whether an .exe
was written using Java? Is this method reliable?