Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5005176

(process) Can't run 16-bit DOS programs (.com files)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs
    • None
    • generic
    • windows_2000

      If you try to run a 16-bit DOS program, e.g.

      new ProcessBuilder(new String[]{"command.com","/C", "dir"}).start();

      it fails by putting up a dialog box (even if the process is running "remotely")

      16-bit MS-DOS subsystem
      C:/WINNT/System32/ntvdm.exe
      Error while setting up environment for the application.

      while the analogous

      new ProcessBuilder(new String[]{"cmd.exe","/C", "dir"}).start();

      works perfectly.
      ###@###.### 2004-03-02

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: