Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Abbie Cohen   on Dec 09 In Java Category.

  
Question Answered By: Eileen Carr   on Dec 09

you can do this ..
call the main method of OtherApp.

ex : OtherApp.main(null); main method is static .. so it can be called like
this. you need to pass the String array as the argument or null if you are
neglecting the arguments. This will run  as a same thread.
If you want to run as another thread, create seperate thread  and call the main
method from within the run method of the thread.

Hope this answers you query.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Run Another Java App in Current JVM Or get search suggestion and latest updates.


Tagged: