Runtime.exec is not implemented?
Andrew.Ferguson@arm.com
Andrew.Ferguson@arm.com
Tue Mar 18 18:31:00 GMT 2003
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"});
}
}
More information about the Java
mailing list