You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by xuliujuan <xu...@hotmail.com> on 2004/01/06 10:01:05 UTC

How to use * in Runtine.getRuntime().exc()

----- Original Message -----
From: xuliujuan <xu...@hotmail.com>
To: TOkken <TO...@refco.com>
Sent: Tuesday, January 06, 2004 4:45 PM
Subject: How to use * in Runtine.getRuntime().exc()


> Hi ,
> I want to use  Runtime.getRuntime().exec("javac  *.java,null,new
> File("/home/qdcxulj/java")); But it could not be executed rightly
>
> error: can't read *.java. It seems it could not recongnize the symbol " *
"
>
> Even the Runtime.getRuntime().exec("ls *.java"); could not be excuted
>
>   Could you tell me how to use * in the command if I want to ? Thank you
in
> advance.
>
> Best wishes.
>
> /XuLiujuan
>
>