This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Runtime.exec is not implemented?
- From: <Andrew dot Ferguson at arm dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 18 Mar 2003 18:30:51 +0000
- Subject: Runtime.exec is not implemented?
hi,
is Runtime.exec implemented? if I compile the code below with gcj, and run
it I get the following errors
H:\java\misc>gcj --main=GCJTest1 -o GCJT1 GCJTest1.java
H:\java\misc>GCJT1
Exception in thread "main" java.io.IOException: not implemented
thanks,
Andrew
class GCJTest1
{
public static void main(String [] arg) throws Exception
{
Process p = Runtime.getRuntime().exec(new String []
{"notepad.exe"});
}
}