Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Fahimah Khan   on Aug 25 In Java Category.

  
Question Answered By: Jim Williamson   on Aug 25

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: