Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 7028 invoked from network); 16 Jun 2004 14:40:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jun 2004 14:40:17 -0000 Received: (qmail 44450 invoked by uid 500); 16 Jun 2004 14:36:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 43794 invoked by uid 500); 16 Jun 2004 14:36:13 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 43209 invoked by uid 99); 16 Jun 2004 14:35:58 -0000 Received: from [212.125.99.2] (HELO intraweb.intraweb.de) (212.125.99.2) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 16 Jun 2004 07:35:58 -0700 Received: from jentro.com ([212.125.99.33]) by intraweb.intraweb.de (Netscape Messaging Server 3.6) with ESMTP id AAA4704 for ; Wed, 16 Jun 2004 16:39:26 +0200 Message-ID: <40D05AA1.8090903@jentro.com> Date: Wed, 16 Jun 2004 16:35:13 +0200 From: "John L. Webber" Organization: Jentro Technologies GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: executing extern binary-file with flow References: <1087395378.2356.16.camel@deforcer> In-Reply-To: <1087395378.2356.16.camel@deforcer> X-Enigmail-Version: 0.83.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Freddy, I don't know if this is possible, but surely the first line should be: var myRuntime = Packages.java.lang.Runtime.getRuntime(); There is no constructor for the Runtime class. John Freddy wrote: > I'm trying to execute an extern binary file by flow. But I don't have an > idea how to realize this. Is it possible at all? > > So far, I tried something like > var myRuntime = new Packages.java.lang.Runtime(); > var myProcess = nwe myRuntime.exec("/bin/echo test"); > > But I get the Errormessage "Java constructor for "java.lang.Runtime" > with arguments "" not found." but there exists a constructor without any > paramters. > > I hope someone can help and give me a few hints. > > Freddy > > > -- --------------------------------------------------------- Jentro Technologies GmbH John L. Webber, Software Development --------------------------------------------------------- Rosenheimer Str. 145e 81671 M�nchen Tel. +49 89 189 169 80 mailto:John.Webber@jentro.com Fax +49 89 189 169 99 http://www.jentro.com --------------------------------------------------------- NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments without any use or further distribution of its contents. Please note that any unauthorised review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you. --------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org