I have a product composed by an exe file written in java, and a bunch of jar files of various type.
I don't have source files of this application, and neither a single page of documentation.
Maybe reverse engineering would is too difficult to do, but is there any way
to know which jar classes/methods are created/invoked when i push the buttons on the gui?
Is there any trick to do that?
thank you very much,
Campbell has a very important point here. Licensing. If this is not an in house product, I would doubly ensure reverse engineering is legal.
I would like simply to take out a functionality of the gui and to execute it in a batch java program,
In my work every day I need to press 100 times the same button of this old gui...
If I am not mistaken, there are test automation tools available which you can configure to press the button 100 times.
You can also do it yourself. Check out the Robot class in Java !
If you still insist on taking out the GUI totally, this might be one of the ways possible.
Check the manifest file. That should give you the main class.
Write a small main class of your own which in turn calls the jar's main().
Run in debugger, stepping into the calls. You should get the class/method names and the sequence.
thank you, I hadn't thought about Robots, I'll study the subject.
I found a lot of manifest.cs in the application, but all of them have only these lines:
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
don't find the class to start with.
Maybe it can be in other files?
As for the license file I couldn't find a place in which they mention reverse engineering
posted 8 years ago
a Java Network Launching Protocol and API (JNLP) file where there is the class name!
this llama doesn't want your drama, he just wants this tiny ad for his mama
Devious Experiments for a Truly Passive Greenhouse!