2 Replies Latest reply on Mar 13, 2007 9:15 AM by 807606

    Error with .EXE file connection

      i coded following fragment of program:
      class pgm
           public static void main(String args[])
                Runtime r=Runtime.getRuntime();
                Process p=null;
                catch(Exception e){
                     System.out.println("Error has occured");

      ppp.exe is the executable which is formed by compiling
      the ppp.c program on Turbo C++.
      But i am unable to run this .exe file by this JAVA program.
      I am getting the error related to NTVDM. Can any one HELP
      me to solve this problem.....