This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"});
      }
}



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]