Answer the question
In order to leave comments, you need to log in
How to run third party java application from main java application?
The question is a little lamer, I apologize in advance.
There is a need to create a windowed java application, which should launch a third-party java application on a button in a separate thread. That is, a third-party java application is an application compiled into .java or .jar, whose classes are not written in the main java application. In other words, I can't normally declare a third party java application class in the main to access its main() method.
But how can this be done? Help me please. If the question is described in the dock, poke me in it, please.
Answer the question
In order to leave comments, you need to log in
Import the main class of another application, create a thread and call main of the imported class in it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question