🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17815

Re: How can an application start another?

#17815
From: Michael Appelmans
Date: Fri, 25 Sep 1998 00:00
29 lines
1239 bytes
A serialized version of Richard Ulrichs answer (with property modified
by me!):


    Runtime r;
    Process p;

    r = Runtime.getRuntime();
    try {
      p = r.exec("java mySecondClass");
    }
    catch (Exception ex){
    }




--
Michael Appelmans

Agility, Inc.
*SpamBam - remove 123 to mail*
mappelmans@123agility-inc.com
Richard Evans wrote in message <360B502E.30B66068@dial.pipex.com>...
>We have two Java applications.  How can one application start the
>other?  We'd prefer to keep the two applications separate rather than
>bundling them both into one large application.
>
>Rich.
Technical Details
Message-ID: <6ugd8p$7ve12@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <360B502E.30B66068@dial.pipex.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,61d15b307e1a2fe1
X-Google-Attributes: gidf74b3,public
From: "Michael Appelmans" <mappel@123ibm.net>
Subject: Re: How can an application start another?
Date: 1998/09/25
Message-ID: <6ugd8p$7ve12@forums.borland.com>
X-Deja-AN: 394758608
Content-Transfer-Encoding: 7bit
References: <360B502E.30B66068@dial.pipex.com>
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language