Results 1 to 2 of 2
  1. #1
    zoe
    zoe is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default Call a main method from within a running program

    Hi, I'm trying to find out the best way to call a main method from within a running program. Both programs are written in Java.

    I've got a Java IDL server up and registered, and what I'd like to do is either call another main method (which starts a GUI) from within the server's main method or create a kind of startup method within my IDL implementation that will remotely start the GUI.

    In either case, I need to know the easiest way to kick off the other main method and how I can communicate between each of the processes.
    Thanks

  2. #2
    fernando is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    That is an interesting problem you are trying to solve. While I don't know much about calling another application from an existing running application, I am gonna try and surf around at work and see what I can come up with.
    Greetings.

Similar Threads

  1. How to call C/C++ Program from Java
    By sanjeevtarar in forum Advanced Java
    Replies: 1
    Last Post: 04-17-2008, 08:55 AM
  2. Running main in a package...
    By Bizmark in forum New To Java
    Replies: 1
    Last Post: 04-07-2008, 01:58 PM
  3. Replies: 0
    Last Post: 04-04-2008, 02:49 PM
  4. Call a Method Automatically
    By rhm54 in forum New To Java
    Replies: 4
    Last Post: 02-07-2008, 08:51 AM
  5. I need to call and run another program
    By coco in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 05:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •