Article View: borland.public.jbuilder.java.language
Article #16644Re: are java system calls possible?
From: MarkL
Date: Mon, 08 Feb 1999 00:00
Date: Mon, 08 Feb 1999 00:00
16 lines
1023 bytes
1023 bytes
Try using the Java Runtime.
e.g;
Runtime rtime;
rtime.exec("notepad");
Rody Cunningham wrote in message <36BEEC4F.2775AE4E@lucent.com>...
>Hello,
>
>Is there any way to make a system call from a Java application? I would
>like to execute an external program, much the same way you can with the
>"system" command in C.
>
>Thanks
>
Technical Details
Message-ID:
<79mui2$j81$1@quince.news.easynet.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36BEEC4F.2775AE4E@lucent.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,6e112df30c27e569,start X-Google-Attributes: gidf74b3,public From: "MarkL" <leavym@easynet.co.uk> Subject: Re: are java system calls possible? Date: 1999/02/08 Message-ID: <79mui2$j81$1@quince.news.easynet.net> X-Deja-AN: 441859709 References: <36BEEC4F.2775AE4E@lucent.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@easynet.net X-Trace: quince.news.easynet.net 918486402 19713 212.212.99.225 (8 Feb 1999 15:06:42 GMT) Organization: [posted via Easynet Ltd] NNTP-Posting-Date: 8 Feb 1999 15:06:42 GMT Newsgroups: borland.public.jbuilder.java.language